Sha256: f0e36eec7c51cd4f40c65c4b3415afa33d8fc03e627088762061439b68a83bb8

Contents?: true

Size: 774 Bytes

Versions: 90

Compression:

Stored size: 774 Bytes

Contents

- hosts: localhost
  vars:
    - testing_dir: "{{playbook_dir}}/testing"
  roles:
    - yaegashi.blockinfile
  tasks:
    - shell: echo "Detected Ansible prior to 1.8" > {{testing_dir}}/SKIPPED
             && false
      when: ansible_version is not defined
    - name: update symlink file without follow
      blockinfile: |
        dest={{testing_dir}}/link0.txt backup=yes follow=no
        content="aaa bbb ccc\nAAA BBB CCC"
    - name: update symlink file with follow=no
      blockinfile: |
        dest={{testing_dir}}/link1.txt backup=yes follow=no
        content="aaa bbb ccc\nAAA BBB CCC"
    - name: update symlink file with follow=yes
      blockinfile: |
        dest={{testing_dir}}/link2.txt backup=yes follow=yes
        content="aaa bbb ccc\nAAA BBB CCC"

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
qb-0.3.12 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.11 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.10 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.9 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.8 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.7 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.6 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.5 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.4 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.3 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.2 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.3.1 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.88 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.87 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.86 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.85 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.84 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.83 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.82 roles/nrser.blockinfile/tests/test-follow.yml
qb-0.1.81 roles/nrser.blockinfile/tests/test-follow.yml