Skip to content

Commit

Permalink
Merge pull request #79 from fitz123/ansible_2.0-bare_vars_fix
Browse files Browse the repository at this point in the history
fix bare variables usage for loops
  • Loading branch information
Sebastian Gumprich committed May 19, 2016
2 parents 13ad1d2 + b9afcfd commit 8777859
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/rhosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- name: delete rhosts-files from system | DTAG SEC Req 3.21-4
file: dest='~{{ item }}/.rhosts' state=absent
with_items: users.stdout_lines
with_items: '{{ users.stdout_lines }}'

- name: delete hosts.equiv from system | DTAG SEC Req 3.21-4
file: dest='/etc/hosts.equiv' state=absent
4 changes: 2 additions & 2 deletions tasks/sysctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
state: present
reload: yes
ignoreerrors: yes
with_dict: sysctl_config
with_dict: '{{ sysctl_config }}'

- name: Change various sysctl-settings on rhel-hosts, look at the sysctl-vars file for documentation
sysctl:
Expand All @@ -33,5 +33,5 @@
state: present
reload: yes
ignoreerrors: yes
with_dict: sysctl_rhel_config
with_dict: '{{ sysctl_rhel_config }}'
when: ansible_distribution == 'RedHat' or ansible_distribution == 'Fedora' or ansible_distribution == 'CentOS'

0 comments on commit 8777859

Please sign in to comment.