Skip to content

Instantly share code, notes, and snippets.

@lanky
Created July 11, 2017 12:47
Show Gist options
  • Save lanky/956db35a9a17787b6c0ce3b200bffcd4 to your computer and use it in GitHub Desktop.
Save lanky/956db35a9a17787b6c0ce3b200bffcd4 to your computer and use it in GitHub Desktop.
admins:
- name: username
pass: <redacted>
home: "/home/username"
when: inventory_hostname == "host1"
- name: username
pass: <redacted>
home: "/newhome/username"
when: inventory_hostname != "host1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment