create role ansible mananger

This commit is contained in:
vincent 2018-11-29 22:51:39 +01:00
parent d5107137bf
commit b94d782139
7 changed files with 29 additions and 1 deletions

View File

@ -11,6 +11,7 @@
- [ ] workstation role
-install wm software
- [ ] ansible manager
- [ ] system role:
- check user

View File

@ -0,0 +1,9 @@
---
- hosts: server
roles:
- system
- autofs
- dns
- ssmtp
- tt-rss
- gitea

View File

@ -1,3 +1,3 @@
---
- import_playbook: server.yml
- import_playbook: workstation.yml
- import_playbook: workstation.yml

View File

@ -2,3 +2,6 @@
[server]
nas
debian
[workstation]
nas

View File

@ -0,0 +1,15 @@
---
- hosts: workstation
roles:
- system
- ansible-manager
- autofs
- Windows_manager
vars_prompt:
- name: "githubuser"
prompt: "Enter your github username"
private: no
- name: "githubpassword"
prompt: "Enter your github password"
private: yes