forked from evolix/ansible-roles
Add a post-install task file
This commit is contained in:
parent
2fe548ce4e
commit
16a1111345
|
@ -15,6 +15,7 @@ machine and an Amazon security access key pair created for your account.
|
|||
By default, this role does nothing (no `main.yml` file).
|
||||
|
||||
* `create-instance.yml`: create new EC2 instances
|
||||
* `post-install.yml`: remove admin user created on Debian instances
|
||||
|
||||
## Variables
|
||||
|
||||
|
|
5
amazon-ec2/tasks/post-install.yml
Normal file
5
amazon-ec2/tasks/post-install.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Remove admin user
|
||||
user:
|
||||
name: admin
|
||||
state: absent
|
Loading…
Reference in a new issue