Skip to content

Commit c0b0bda

Browse files
committed
Fix ansible privilege escalation
There's no need to run all the plays in escalated privilege. We should only escalate when needed.
1 parent 0e8bb86 commit c0b0bda

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

vagrant-pxe-harvester/ansible.cfg

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
[defaults]
22
stdout_callback = yaml
33
interpreter_python = auto_silent
4-
[privilege_escalation]
5-
become = True

vagrant-pxe-harvester/ansible/setup_pxe_server.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
- hosts: all
2+
become: yes
23
tasks:
34
- name: install kitty terminfo
45
apt:

0 commit comments

Comments
 (0)