From 337dcb94381e61434ed3fa02b2fa0a38bae46cdc Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Tue, 21 Apr 2020 11:15:27 +0200 Subject: [PATCH] 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. --- evolixisation.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/evolixisation.yml b/evolixisation.yml index 3895536..df88a4c 100644 --- a/evolixisation.yml +++ b/evolixisation.yml @@ -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