complete variable for autofs
This commit is contained in:
parent
7cb41fa105
commit
bce7456502
10
README.md
10
README.md
@ -3,7 +3,7 @@
|
||||
## commande ansible
|
||||
|
||||
***launch playbook on staging***
|
||||
`ansible-playbook -i staging site.yml --ask-become-pass`
|
||||
`ansible-playbook -i staging site.yml --ask-become-pass --ask-vault-pass`
|
||||
|
||||
***init new role architecture***
|
||||
`ansible-galaxy user_config init `
|
||||
@ -35,11 +35,13 @@
|
||||
- create user
|
||||
- copy clé RSA
|
||||
|
||||
- [ ] samba automount role
|
||||
- [X] samba automount role
|
||||
- géré les credential en fichier
|
||||
- initialisé les variable pour les diferent périphérique
|
||||
|
||||
- [ ] davfs mount
|
||||
- [X] davfs mount
|
||||
|
||||
|
||||
|
||||
- [ ] VM server
|
||||
|
||||
@ -53,6 +55,8 @@
|
||||
- clone ansible repo
|
||||
|
||||
- [ ] workstation role
|
||||
- cups
|
||||
- bluetooth et tlp pour laptop
|
||||
- install wm software
|
||||
- install worstation software (firefox keepass,pulseaudio,ncmpcc)
|
||||
|
||||
|
@ -4,20 +4,84 @@ systemd_mounts:
|
||||
mount: /mnt/diskstation/media
|
||||
type: cifs
|
||||
options:
|
||||
- user=admin
|
||||
- password=
|
||||
- credentials=/etc/creds/.diskstation_credentials
|
||||
- uid=1024
|
||||
- gid=100
|
||||
automount: true
|
||||
diskstation_music:
|
||||
share: //diskstation/music
|
||||
mount: /mnt/diskstation/music
|
||||
type: cifs
|
||||
options:
|
||||
- user=admin
|
||||
- password=XiEhusW6
|
||||
- credentials=/etc/creds/.diskstation_credentials
|
||||
- uid=1024
|
||||
- gid=100
|
||||
automount: true
|
||||
diskstation_home:
|
||||
share: //diskstation/homes/admin
|
||||
mount: /mnt/diskstation/home
|
||||
type: cifs
|
||||
options:
|
||||
- credentials=/etc/creds/.diskstation_credentials
|
||||
- uid=1024
|
||||
- gid=100
|
||||
automount: true
|
||||
diskstation_photo:
|
||||
share: //diskstation/photo
|
||||
mount: /mnt/diskstation/photo
|
||||
type: cifs
|
||||
options:
|
||||
- credentials=/etc/creds/.diskstation_credentials
|
||||
- uid=1024
|
||||
- gid=100
|
||||
automount: true
|
||||
diskstation_ebook:
|
||||
share: //diskstation/ebook
|
||||
mount: /mnt/diskstation/ebook
|
||||
type: cifs
|
||||
options:
|
||||
- credentials=/etc/creds/.diskstation_credentials
|
||||
- uid=1024
|
||||
- gid=100
|
||||
automount: true
|
||||
davfs_share:
|
||||
share: https://diskstation.ducamps.win:5006/home/keepass
|
||||
mount: /mnt/diskstation/keepass
|
||||
type: davfs
|
||||
options:
|
||||
- uid=1024
|
||||
automount: true
|
||||
|
||||
|
||||
systemd_mounts_enabled:
|
||||
- diskstation_media
|
||||
- diskstation_music
|
||||
- diskstation_ebook
|
||||
- davfs_share
|
||||
- diskstation_photo
|
||||
- diskstation_home
|
||||
|
||||
credentials_files:
|
||||
1:
|
||||
type: smb
|
||||
path: /etc/creds/.diskstation_credentials
|
||||
username: admin
|
||||
password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
30633733333935656635616232623338613638616139303366313330366562323830613032383366
|
||||
3735306661306437626361653035326462633330643362300a366432393730653561363431313930
|
||||
64613130396636656461346164643033353735313363336638663331393532626132633233373330
|
||||
6332616435643530320a636366323634363363636566363665393064376138653666623563326330
|
||||
3536
|
||||
2:
|
||||
type: davfs
|
||||
path: /etc/davfs2/secrets
|
||||
adress: https://diskstation.ducamps.win:5006/home/keepass
|
||||
username: admin
|
||||
password: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
30633733333935656635616232623338613638616139303366313330366562323830613032383366
|
||||
3735306661306437626361653035326462633330643362300a366432393730653561363431313930
|
||||
64613130396636656461346164643033353735313363336638663331393532626132633233373330
|
||||
6332616435643530320a636366323634363363636566363665393064376138653666623563326330
|
||||
3536
|
||||
|
Loading…
Reference in New Issue
Block a user