Add a new role "ansible-managed"
This commit is contained in:
parent
3f09d938eb
commit
ce4e26eff9
|
@ -0,0 +1,11 @@
|
|||
# ansible-managed
|
||||
|
||||
Set some indications that the server is managed by Ansible and extra care yshould be given not no mess with it manually.
|
||||
|
||||
## Tasks
|
||||
|
||||
Everything is in the `tasks/main.yml` file.
|
||||
|
||||
## Available variables
|
||||
|
||||
* `project_repository` : project URL for the repository.
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
project_repository: "/!\ No repository set, contact Evolix"
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Set message of the day
|
||||
template:
|
||||
src: motd.j2
|
||||
dest: /etc/motd
|
||||
force: yes
|
||||
backup: yes
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
SERVER MANAGED BY EVOLIX VIA ANSIBLE
|
||||
------------------------------------
|
||||
{{ project_repository | mandatory }}
|
Loading…
Reference in New Issue