Hi all.
I need to check a playbook authenticity before execution. Is it possible? If yes how can I sign a playbook and check it in ansible before execution (and also prohibit any execution of non signed playbooks)?
Sorry, if this question has been already discussed, but I have not found information.
Yep, Antony right.
The idea is as follows: we have fileA and fileB. FileA is “signed” by me (for example has digital signature) and we can start it with ansible-playbook command. FileB doesn’t have signature so it can’t do any changes on remote hosts. Is it possible?
понедельник, 7 июня 2021 г. в 13:49:28 UTC+3, Antony Stone:
Yep, Antony right.
The idea is as follows: we have fileA and fileB. FileA is "signed" by me (for example has digital signature) and we can start it with ansible-playbook command. FileB doesn't have signature so it can't do any changes on remote hosts. Is it possible?
I doubt that verifying the signature is a solution for preventing tampering ... the user simply can ssh to the machine for example.