diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-27 13:28:45 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:28:44 +0800 |
commit | 2d8ca670d9148c7de2a95c8448985f74238d7cdb (patch) | |
tree | d4c63ccb585ac3796143a755fa438f8cdc4d37b7 /roles/bootstrap/tasks | |
parent | c10e1524e5b67fce4d8b17b0fa5ca39aac72c465 (diff) | |
download | ansible-dfly-vps-2d8ca670d9148c7de2a95c8448985f74238d7cdb.tar.bz2 |
bootstrap: install sudo
Diffstat (limited to 'roles/bootstrap/tasks')
-rw-r--r-- | roles/bootstrap/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |