Changeset 13842 for main/waeup-ansible/bootstrap.yml
- Timestamp:
- 20 Apr 2016, 14:12:22 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup-ansible/bootstrap.yml
r13839 r13842 14 14 # 15 15 - hosts: yet-untouched 16 vars: 17 deploy_user: 'deploy' 18 deploy_public_key: "{{ lookup('file', 'files/id-deploy.pub') }}" 16 19 tasks: 17 - name: "Start" 18 command: echo "Hello world." 20 21 - name: "bootstrap | create 'deploy' user" 22 user: 23 name="{{ deploy_user }}" 24 append=yes 25 uid=2222 26 27 - name: "bootstrap | update authorized key of 'deploy'" 28 authorized_key: 29 user="{{ deploy_user }}" 30 key="{{ deploy_public_key }}" 31 32 - name: "bootstrap | restart sshd" 33 service: 34 name="ssh" 35 enabled=yes 36 state=restarted
Note: See TracChangeset for help on using the changeset viewer.