From dff36cc46f63c543c7adff602b1388afcc6406ea Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 25 Sep 2024 23:27:55 +0200 Subject: [PATCH] refs #8025 awx playbook, sudoers permission fix --- playbooks/awx.yml | 6 ++++++ roles/debian-base/tasks/sudoers.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 playbooks/awx.yml diff --git a/playbooks/awx.yml b/playbooks/awx.yml new file mode 100644 index 0000000..a4c9198 --- /dev/null +++ b/playbooks/awx.yml @@ -0,0 +1,6 @@ +- hosts: all + gather_facts: no + tasks: + - name: Configure AWX user + import_role: + name: awx diff --git a/roles/debian-base/tasks/sudoers.yml b/roles/debian-base/tasks/sudoers.yml index e31f0eb..3c7f69e 100644 --- a/roles/debian-base/tasks/sudoers.yml +++ b/roles/debian-base/tasks/sudoers.yml @@ -6,6 +6,6 @@ copy: src: sudoers dest: /etc/sudoers.d/vn - mode: u=rw,g=r + mode: u=rw,g=r,o= owner: root group: root