From 2d8ca670d9148c7de2a95c8448985f74238d7cdb Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 27 Feb 2018 13:28:45 +0800 Subject: bootstrap: install sudo --- roles/bootstrap/tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles/bootstrap/tasks') diff --git a/roles/bootstrap/tasks/main.yml b/roles/bootstrap/tasks/main.yml index 3ab7e35..b737188 100644 --- a/roles/bootstrap/tasks/main.yml +++ b/roles/bootstrap/tasks/main.yml @@ -33,6 +33,11 @@ with_items: - "{{ ansible_ssh_private_key_file }}" +- name: sudo - install package + pkgng: + name: sudo + state: present + - name: sudo - no password for the deployment user template: src: sudoers.d_ansible.j2 -- cgit v1.2.2