Changeset 13844 for main/waeup-ansible


Ignore:
Timestamp:
20 Apr 2016, 16:10:57 (8 years ago)
Author:
uli
Message:

Enable passwordless sudo for deploy user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup-ansible/bootstrap.yml

    r13842 r13844  
    3030        key="{{ deploy_public_key }}"
    3131
     32    - name: "bootstrap | grant sudoers perms to 'deploy'"
     33      lineinfile:
     34        "dest=/etc/sudoers
     35        insertafter=EOF
     36        line='{{ deploy_user }} ALL=(ALL) NOPASSWD: ALL'
     37        regexp='{{ deploy_user }} ALL=(ALL) NOPASSWD: ALL'
     38        state=present"
     39
    3240    - name: "bootstrap | restart sshd"
    3341      service:
Note: See TracChangeset for help on using the changeset viewer.