Add a pf tag that we skip for subsequent use
continuous-integration/drone/push Build is failing Détails

PacketFilter need to be customized only once, at the first use.
After that, pf.conf will be modified on the server for the needs of the
network. It must not be overwriten.
Cette révision appartient à :
Jérémy Dubois 2020-10-14 09:40:59 +02:00
Parent dc2707c004
révision 5adeaa31e1
2 fichiers modifiés avec 4 ajouts et 2 suppressions

Voir le fichier

@ -1,9 +1,9 @@
# yamllint disable rule:line-length
# Playbook command
# First use (become_method: su) :
# ansible-playbook evolixisation.yml --ask-vault-pass -CDki hosts -l HOSTNAME -u root
# ansible-playbook evolixisation.yml --ask-vault-pass -CDki hosts -u root -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 --skip-tags pf -l HOSTNAME
---
- name: Evolixisation of an OpenBSD system

Voir le fichier

@ -5,3 +5,5 @@
dest: /etc/pf.conf
mode: "0600"
backup: true
tags:
- pf