Separate Ansible installation out into its own role

This commit is contained in:
Salt 2021-09-24 12:57:31 -05:00
parent 32061deac2
commit 41d9157971
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
dependencies:
role: ansible

3
roles/ansible/README.md Normal file
View File

@ -0,0 +1,3 @@
# ansible-pull
This role configures and enables a period `ansible-pull` task through systemd, allowing for machines to ensure proper configuration periodically and of their own volition.

View File

@ -0,0 +1,5 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
- name: install ansible
pip: name=ansible<5,ansible-lint state=latest
when: ansible_os_family != "Gentoo"