Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Port Playbooks to Ansible 2.0 #31

Open
2 tasks
oguya opened this issue May 19, 2016 · 0 comments
Open
2 tasks

Port Playbooks to Ansible 2.0 #31

oguya opened this issue May 19, 2016 · 0 comments

Comments

@oguya
Copy link

oguya commented May 19, 2016

There a few changes that should be made for full ansible 2.0 compatibility.

  • Remove bare variables within with_ loops
  • Replace sudo/sudo_user with become/become_user directives

Porting guide: https://docs.ansible.com/ansible/porting_guide_2.0.html

oguya added a commit to oguya/cis-rhel-ansible that referenced this issue May 19, 2016
Using bare variables—e.g. `ansible_mounts' within with_ loops is
deprecated from ansible 2.0 onwards. Therefore, you should use the
full variable syntax e.g. `"{{ ansible_mounts }}"'

Fixes major#31

https://docs.ansible.com/ansible/porting_guide_2.0.html
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant