Make evolixisation playbook more complete
- Specification of the different possible uses of the playbook - Addition of the openvpn role, commented by default - No use of the PKG_PATH variable, which is no longer useful since OpenBSD 6.1 installurl.
This commit is contained in:
parent
9c716c5d68
commit
337dcb9438
|
@ -1,4 +1,7 @@
|
||||||
# Playbook command
|
# Playbook command
|
||||||
|
# First use (become_method: su) :
|
||||||
|
# ansible-playbook evolixisation.yml --ask-vault-pass -CDi hosts -l HOSTNAME
|
||||||
|
# Subsequent use (become_method: sudo) :
|
||||||
# ansible-playbook evolixisation.yml --ask-vault-pass -CDKi hosts -l HOSTNAME
|
# ansible-playbook evolixisation.yml --ask-vault-pass -CDKi hosts -l HOSTNAME
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -7,6 +10,7 @@
|
||||||
become: true
|
become: true
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
|
# become_method: su
|
||||||
|
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
|
@ -21,13 +25,14 @@
|
||||||
- accounts
|
- accounts
|
||||||
- nagios-nrpe
|
- nagios-nrpe
|
||||||
- post-install
|
- post-install
|
||||||
|
#- openvpn
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
- include: "tasks/commit_etc_git.yml"
|
- include: "tasks/commit_etc_git.yml"
|
||||||
vars:
|
vars:
|
||||||
commit_message: "Ansible - Evolixisation"
|
commit_message: "Ansible - Evolixisation"
|
||||||
|
|
||||||
environment:
|
# environment:
|
||||||
PKG_PATH: "http://ftp.openbsd.org/pub/OpenBSD/{{ ansible_distribution_version }}/packages/{{ ansible_architecture }}/"
|
# PKG_PATH: "http://ftp.openbsd.org/pub/OpenBSD/{{ ansible_distribution_version }}/packages/{{ ansible_architecture }}/"
|
||||||
|
|
||||||
# vim:ft=ansible
|
# vim:ft=ansible
|
||||||
|
|
Loading…
Reference in a new issue