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:
Jérémy Dubois 2020-04-21 11:15:27 +02:00
parent 9c716c5d68
commit 337dcb9438
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,7 @@
# 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
---
@ -7,6 +10,7 @@
become: true
become_user: root
become_method: sudo
# become_method: su
vars_files:
@ -21,13 +25,14 @@
- accounts
- nagios-nrpe
- post-install
#- openvpn
post_tasks:
- include: "tasks/commit_etc_git.yml"
vars:
commit_message: "Ansible - Evolixisation"
environment:
PKG_PATH: "http://ftp.openbsd.org/pub/OpenBSD/{{ ansible_distribution_version }}/packages/{{ ansible_architecture }}/"
# environment:
# PKG_PATH: "http://ftp.openbsd.org/pub/OpenBSD/{{ ansible_distribution_version }}/packages/{{ ansible_architecture }}/"
# vim:ft=ansible