Feat: Add docker install to nas
This commit is contained in:
parent
37040f843c
commit
bde73c9601
70
home.yml
70
home.yml
@ -6,48 +6,54 @@
|
|||||||
- vars/users.yml
|
- vars/users.yml
|
||||||
- vars/home.yml
|
- vars/home.yml
|
||||||
- vars/nas.yml
|
- vars/nas.yml
|
||||||
tasks:
|
|
||||||
|
pre_tasks:
|
||||||
- name: Update
|
- name: Update
|
||||||
apt:
|
apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
upgrade: true
|
upgrade: true
|
||||||
|
|
||||||
# - name: Install core admin tools
|
roles:
|
||||||
# include_role:
|
- role: core
|
||||||
# name: core
|
|
||||||
|
|
||||||
# - name: Include user
|
- role: ssh
|
||||||
# include_role:
|
tags:
|
||||||
# name: "user"
|
- ssh
|
||||||
# loop:
|
|
||||||
# - "{{ admin }}"
|
|
||||||
# loop_control:
|
|
||||||
# loop_var: user
|
|
||||||
|
|
||||||
# - name: Remove firstboot user
|
- role: samba_server
|
||||||
# ansible.builtin.user:
|
tags:
|
||||||
# name: foo
|
- samba_server
|
||||||
# state: absent
|
|
||||||
# remove: yes
|
|
||||||
|
|
||||||
# - name: Secure ssh
|
- role: nfs_server
|
||||||
# include_role:
|
tags:
|
||||||
# name: ssh
|
- nfs_server
|
||||||
- name: Set up nuts
|
|
||||||
|
- role: nut
|
||||||
|
tags:
|
||||||
|
- nut
|
||||||
|
|
||||||
|
- role: geerlingguy.docker
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: Include user
|
||||||
include_role:
|
include_role:
|
||||||
name: nut
|
name: "user"
|
||||||
|
loop:
|
||||||
|
- "{{ admin }}"
|
||||||
|
loop_control:
|
||||||
|
loop_var: user
|
||||||
|
tags:
|
||||||
|
- user
|
||||||
|
|
||||||
# - name: Set up nfs network shares server
|
- name: Remove firstboot user
|
||||||
# include_role:
|
ansible.builtin.user:
|
||||||
# name: nfs_server
|
name: foo
|
||||||
|
state: absent
|
||||||
# - name: Set up samba network shares
|
remove: yes
|
||||||
# include_role:
|
tags:
|
||||||
# name: samba_server
|
- user
|
||||||
|
|
||||||
- name: Install docker
|
|
||||||
debug:
|
|
||||||
msg: Todo
|
|
||||||
|
|
||||||
- name: Set up monitoring server
|
- name: Set up monitoring server
|
||||||
debug:
|
debug:
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
docker_apt_arch: arm64
|
||||||
|
docker_compose_version: "v2.6.0"
|
||||||
|
docker_compose_arch: armv6
|
||||||
|
docker_users:
|
||||||
|
- "{{ admin.username }}"
|
||||||
|
|
||||||
upss:
|
upss:
|
||||||
- name: eaton650
|
- name: eaton650
|
||||||
driver: usbhid-ups
|
driver: usbhid-ups
|
||||||
|
Loading…
Reference in New Issue
Block a user