davestephens / ansible-nas

Build a full-featured home server or NAS replacement with an Ubuntu box and this playbook.
MIT License
3.25k stars 491 forks source link

Docker isn't installing #518

Closed bairhys closed 2 years ago

bairhys commented 2 years ago

Describe the bug Docker isn't installing. Reviewing the output, looks like geerlingguy.docker role isn't run and somehow ignored, however geerlingguy.nfs role runs and bertvv.samba also runs

Environment

Command 'python' not found, did you mean:

command 'python3' from deb python3 command 'python' from deb python-is-python3

- Ansible-NAS Docker version:

ubuntu@gainful-trembler:~/ansible-nas$ docker --version

Command 'docker' not found, but can be installed with:

sudo apt install docker.io

- Latest Docker logs (`journalctl -u docker.service` on the Ansible-NAS box):

ubuntu@gainful-trembler:~/ansible-nas$ journalctl -u docker.service -- Logs begin at Sun 2022-02-20 02:02:22 UTC, end at Sun 2022-02-20 02:17:21 UTC. -- -- No entries --

- Are you running the playbook from a remote box or the Ansible-NAS box itself? Running locally on the Ansible-NAS
- Vagrant version, if testing (`vagrant --version`):
- Ansible-NAS filesystems (`df -hT` on the Ansible-NAS box): 

ubuntu@gainful-trembler:~/ansible-nas$ df -hT Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 440M 0 440M 0% /dev tmpfs tmpfs 92M 2.5M 89M 3% /run /dev/sda1 ext4 4.7G 2.4G 2.3G 52% / tmpfs tmpfs 457M 0 457M 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 457M 0 457M 0% /sys/fs/cgroup /dev/loop0 squashfs 62M 62M 0 100% /snap/core20/1328 /dev/loop1 squashfs 68M 68M 0 100% /snap/lxd/21835 /dev/loop2 squashfs 44M 44M 0 100% /snap/snapd/14549 /dev/sda15 vfat 105M 5.2M 100M 5% /boot/efi tmpfs tmpfs 92M 0 92M 0% /run/user/1000

- Mounted filesystems (`mount` on the Ansible-NAS box): 

ubuntu@gainful-trembler:~/ansible-nas$ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=450052k,nr_inodes=112513,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=93440k,nr_inodes=116798,mode=755) /dev/sda1 on / type ext4 (rw,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,size=467192k,nr_inodes=116798) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,nr_inodes=116798) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=467192k,nr_inodes=116798,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13743) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /var/lib/snapd/snaps/core20_1328.snap on /snap/core20/1328 type squashfs (ro,nodev,relatime,x-gdu.hide) /var/lib/snapd/snaps/lxd_21835.snap on /snap/lxd/21835 type squashfs (ro,nodev,relatime,x-gdu.hide) /var/lib/snapd/snaps/snapd_14549.snap on /snap/snapd/14549 type squashfs (ro,nodev,relatime,x-gdu.hide) /dev/sda15 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=93440k,nr_inodes=116798,mode=755) nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=93436k,nr_inodes=116798,mode=700,uid=1000,gid=1000) sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) nfsd on /proc/fs/nfsd type nfsd (rw,relatime)


**all.yml Variables**
- `docker_image_directory`: default `"{{ docker_home }}/data"`
- `docker_home`: default `/mnt/Volume2/docker`
- `docker_storage_driver`: default`"{{ docker_storage_driver }}"`
- `samba_shares_root`: default `samba_shares_root: /mnt/Volume3`

**Expected behavior**
`geerlingguy.docker` should run and install docker

**Actual behavior**
`geerlingguy.docker` is ignored and doesn't run

**Steps to reproduce**
0. Launch a new multipass ubuntu VM
1. I follow the instructions [here](https://davidstephens.uk/ansible-nas/installation/)
2. At step 5, I don't edit `inventories/my-ansible-nas/group_vars/nas.yml` and use as is. So ansible-nas should at least install heimdall and portainer containers:
```bash
ubuntu@gainful-trembler:~/ansible-nas$ cat inventories/my-ansible-nas/group_vars/nas.yml
---
##                       ._____.   .__
##  _____    ____   _____|__\_ |__ |  |   ____             ____ _____    ______
##  \__  \  /    \ /  ___/  || __ \|  | _/ __ \   ______  /    \\__  \  /  ___/
##   / __ \|   |  \\___ \|  || \_\ \  |_\  ___/  /_____/ |   |  \/ __ \_\___ \
##  (____  /___|  /____  >__||___  /____/\___  >         |___|  (____  /____  >
##       \/     \/     \/        \/          \/               \/     \/     \/
##     a n s i b l e - n a s      https://github.com/davestephens/ansible-nas

# Add your all.yml config overrides to this file. See group_vars/all.yml for all possible settings.

# Example options
ansible_nas_hostname: ansible-nas
ansible_nas_timezone: Etc/UTC

## Enable some applications
heimdall_enabled: true
portainer_enabled: true
  1. Step 6, I run on VM so ininventories/my-ansible-nas/inventory I uncomment line 15 to
    
    ubuntu@gainful-trembler:~/ansible-nas$ cat inventories/my-ansible-nas/inventory
    ##                       ._____.   .__
    ##  _____    ____   _____|__\_ |__ |  |   ____             ____ _____    ______
    ##  \__  \  /    \ /  ___/  || __ \|  | _/ __ \   ______  /    \\__  \  /  ___/
    ##   / __ \|   |  \\___ \|  || \_\ \  |_\  ___/  /_____/ |   |  \/ __ \_\___ \
    ##  (____  /___|  /____  >__||___  /____/\___  >         |___|  (____  /____  >
    ##       \/     \/     \/        \/          \/               \/     \/     \/
    ##     a n s i b l e - n a s      https://github.com/davestephens/ansible-nas

[all]

Example when running from a remote workstation

ansible-nas ansible_host=192.168.1.30

Example when running directly on your Ansible-NAS server

ansible-nas ansible_connection=local ansible_host=localhost

[nas] ansible-nas


**Playbook Output**
```bash
ubuntu@gainful-trembler:~/ansible-nas$ ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K
BECOME password:

PLAY [all] *************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************ok: [ansible-nas]

TASK [Create ansible-nas group] ****************************************************************************************changed: [ansible-nas]

TASK [Create ansible-nas user] *****************************************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Include OS specific variables] ********************************************************************ok: [ansible-nas] => (item=/home/ubuntu/.ansible/roles/bertvv.samba/vars/os_Debian.yml)

TASK [bertvv.samba : Install Samba packages] ***************************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Install Samba VFS extensions packages] ************************************************************ok: [ansible-nas]

TASK [bertvv.samba : Register Samba version] ***************************************************************************ok: [ansible-nas]

TASK [bertvv.samba : Install SELinux package] **************************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Make sure SELinux boolean settings are correct] ***************************************************
TASK [bertvv.samba : Create Samba shares root directory] ***************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Create share directories] *************************************************************************changed: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
changed: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
changed: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
changed: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
changed: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
changed: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
changed: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
changed: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
changed: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
changed: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
changed: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
changed: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Ensure webserver document root exists] ************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Create link to shares in webserver document root] *************************************************skipping: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
skipping: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
skipping: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
skipping: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
skipping: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
skipping: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
skipping: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
skipping: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
skipping: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
skipping: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
skipping: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
skipping: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Samba configuration] ******************************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Install global include file] **********************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Install home include file] ************************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Install share specific include files] *************************************************************skipping: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
skipping: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
skipping: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
skipping: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
skipping: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
skipping: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
skipping: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
skipping: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
skipping: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
skipping: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
skipping: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
skipping: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Create username map file if needed] ***************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Start Samba service(s)] ***************************************************************************ok: [ansible-nas] => (item=smbd)
ok: [ansible-nas] => (item=nmbd)

TASK [bertvv.samba : Create Samba users if they dont exist yet] *******************************************************skipping: [ansible-nas]

TASK [geerlingguy.nfs : Include OS-specific variables.] ****************************************************************ok: [ansible-nas]

TASK [geerlingguy.nfs : Include overrides specific to Fedora.] *********************************************************skipping: [ansible-nas]

TASK [geerlingguy.nfs : include_tasks] *********************************************************************************skipping: [ansible-nas]

TASK [geerlingguy.nfs : include_tasks] *********************************************************************************included: /home/ubuntu/.ansible/roles/geerlingguy.nfs/tasks/setup-Debian.yml for ansible-nas

TASK [geerlingguy.nfs : Ensure NFS utilities are installed.] ***********************************************************changed: [ansible-nas]

TASK [geerlingguy.nfs : Ensure directories to export exist] ************************************************************changed: [ansible-nas] => (item=/mnt/Volume3/public *(rw,sync,no_root_squash))

TASK [geerlingguy.nfs : Copy exports file.] ****************************************************************************changed: [ansible-nas]

TASK [geerlingguy.nfs : Ensure nfs is running.] ************************************************************************ok: [ansible-nas]

TASK [ansible-nas-general : Set login banner] **************************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Enable Universe repository] ****************************************************************ok: [ansible-nas]

TASK [ansible-nas-general : Update apt-cache] **************************************************************************ok: [ansible-nas]

TASK [ansible-nas-general : Upgrade all packages] **********************************************************************skipping: [ansible-nas]

TASK [ansible-nas-general : Install some packages] *********************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Set hostname to ansible-nas] ***************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Set timezone to Etc/UTC] *******************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Permission share directories] **************************************************************changed: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
changed: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
changed: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
changed: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
changed: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
changed: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
changed: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
changed: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
changed: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
changed: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
changed: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
changed: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [ansible-nas-docker : Install python3-pip] ************************************************************************changed: [ansible-nas]

TASK [ansible-nas-docker : Remove docker-py python module] *************************************************************ok: [ansible-nas]

TASK [ansible-nas-docker : Install docker python module] ***************************************************************changed: [ansible-nas]

TASK [ansible-nas-docker : Create Docker home directory] ***************************************************************changed: [ansible-nas]

TASK [ansible-nas-docker : Add user account to Docker group] ***********************************************************fatal: [ansible-nas]: FAILED! => {"changed": false, "msg": "Group docker does not exist"}

RUNNING HANDLER [bertvv.samba : Restart Samba services] ****************************************************************
RUNNING HANDLER [geerlingguy.nfs : reload nfs] *************************************************************************
PLAY RECAP *************************************************************************************************************ansible-nas                : ok=28   changed=17   unreachable=0    failed=1    skipped=12   rescued=0    ignored=0

Running with -vvv and docker tag:

ubuntu@gainful-trembler:~/ansible-nas$ ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K -vvv --tags docker
ansible-playbook [core 2.12.2]
  config file = /home/ubuntu/ansible-nas/ansible.cfg
  configured module search path = ['/home/ubuntu/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/ubuntu/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible-playbook
  python version = 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0]
  jinja version = 2.10.1
  libyaml = True
Using /home/ubuntu/ansible-nas/ansible.cfg as config file
BECOME password:
host_list declined parsing /home/ubuntu/ansible-nas/inventories/my-ansible-nas/inventory as it did not pass its verify_file() method
script declined parsing /home/ubuntu/ansible-nas/inventories/my-ansible-nas/inventory as it did not pass its verify_file() method
auto declined parsing /home/ubuntu/ansible-nas/inventories/my-ansible-nas/inventory as it did not pass its verify_file() method
Parsed /home/ubuntu/ansible-nas/inventories/my-ansible-nas/inventory inventory source with ini plugin
redirecting (type: modules) ansible.builtin.seboolean to ansible.posix.seboolean
redirecting (type: modules) ansible.builtin.timezone to community.general.timezone
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_network to community.docker.docker_network
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/users.yml
statically imported: /home/ubuntu/ansible-nas/tasks/thelounge.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/timemachine.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/stats.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/guacamole.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/joomla.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/wallabag.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/mosquitto.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/calibre.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/openhab.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/jellyfin.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/krusader.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/ubooquity.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/youtubedlmaterial.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/virtual_desktop.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
statically imported: /home/ubuntu/ansible-nas/tasks/pytivo.yml
redirecting (type: modules) ansible.builtin.docker_container to community.docker.docker_container
Skipping callback 'default', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.

PLAYBOOK: nas.yml *****************************************************************************************************************************************************************************************************************************************************************************************************************************************************
1 plays in nas.yml

PLAY [all] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************
task path: /home/ubuntu/ansible-nas/nas.yml:2
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: ubuntu
<localhost> EXEC /bin/sh -c 'echo ~ubuntu && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/ubuntu/.ansible/tmp `"&& mkdir "` echo /home/ubuntu/.ansible/tmp/ansible-tmp-1645325789.4418218-14536-144668829122334 `" && echo ansible-tmp-1645325789.4418218-14536-144668829122334="` echo /home/ubuntu/.ansible/tmp/ansible-tmp-1645325789.4418218-14536-144668829122334 `" ) && sleep 0'
Using module file /usr/lib/python3/dist-packages/ansible/modules/setup.py
<localhost> PUT /home/ubuntu/.ansible/tmp/ansible-local-14531dq0pt5uw/tmpom9acu1w TO /home/ubuntu/.ansible/tmp/ansible-tmp-1645325789.4418218-14536-144668829122334/AnsiballZ_setup.py
<localhost> EXEC /bin/sh -c 'chmod u+x /home/ubuntu/.ansible/tmp/ansible-tmp-1645325789.4418218-14536-144668829122334/ /home/ubuntu/.ansible/tmp/ansible-tmp-1645325789.4418218-14536-144668829122334/AnsiballZ_setup.py && sleep 0'
<localhost> EXEC /bin/sh -c 'sudo -H -S -n  -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-lwdkvidevxvpwjzpprakiiowegwzhiho ; /usr/bin/python3 /home/ubuntu/.ansible/tmp/ansible-tmp-1645325789.4418218-14536-144668829122334/AnsiballZ_setup.py'"'"' && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /home/ubuntu/.ansible/tmp/ansible-tmp-1645325789.4418218-14536-144668829122334/ > /dev/null 2>&1 && sleep 0'
ok: [ansible-nas]
META: ran handlers
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META:
META: ran handlers
META: ran handlers

PLAY RECAP ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
ansible-nas                : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Additional context All output above is on a new multipass VM but also have same issue on my new ubuntu 20.04 server

bairhys commented 2 years ago

On a new multipass VM, I managed to successfully run the ansible nas playbook. I had to

  1. create new multipass VM
  2. install geerlingguy.docker: ansible-galaxy install geerlingguy.docker
  3. I created a new playbook just to install geerlingguy.docker:
    ---
    - name: "Install Docker"
    hosts: localhost
    connection: local 
    roles:
    - geerlingguy.docker
  4. Run new playbook ansible-playbook docker-install.yml -b -K
  5. Then start to install ansible-nas by following the same "Steps to reproduce" as in my first comment

Again though, the geerlingguy.docker is ignored, note no references to geerlingguy.docker below, should be after geerlingguy.nfs as far as I understand:

ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K
BECOME password:

PLAY [all] *************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************ok: [ansible-nas]

TASK [Create ansible-nas group] ****************************************************************************************changed: [ansible-nas]

TASK [Create ansible-nas user] *****************************************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Include OS specific variables] ********************************************************************ok: [ansible-nas] => (item=/home/ubuntu/.ansible/roles/bertvv.samba/vars/os_Debian.yml)

TASK [bertvv.samba : Install Samba packages] ***************************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Install Samba VFS extensions packages] ************************************************************ok: [ansible-nas]

TASK [bertvv.samba : Register Samba version] ***************************************************************************ok: [ansible-nas]

TASK [bertvv.samba : Install SELinux package] **************************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Make sure SELinux boolean settings are correct] ***************************************************
TASK [bertvv.samba : Create Samba shares root directory] ***************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Create share directories] *************************************************************************changed: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
changed: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
changed: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
changed: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
changed: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
changed: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
changed: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
changed: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
changed: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
changed: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
changed: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
changed: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Ensure webserver document root exists] ************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Create link to shares in webserver document root] *************************************************skipping: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
skipping: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
skipping: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
skipping: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
skipping: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
skipping: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
skipping: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
skipping: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
skipping: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
skipping: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
skipping: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
skipping: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Samba configuration] ******************************************************************************changed: [ansible-nas]

TASK [bertvv.samba : Install global include file] **********************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Install home include file] ************************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Install share specific include files] *************************************************************skipping: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
skipping: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
skipping: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
skipping: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
skipping: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
skipping: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
skipping: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
skipping: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
skipping: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
skipping: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
skipping: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
skipping: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Create username map file if needed] ***************************************************************skipping: [ansible-nas]

TASK [bertvv.samba : Start Samba service(s)] ***************************************************************************ok: [ansible-nas] => (item=smbd)
ok: [ansible-nas] => (item=nmbd)

TASK [bertvv.samba : Create Samba users if they dont exist yet] *******************************************************skipping: [ansible-nas]

TASK [geerlingguy.nfs : Include OS-specific variables.] ****************************************************************ok: [ansible-nas]

TASK [geerlingguy.nfs : Include overrides specific to Fedora.] *********************************************************skipping: [ansible-nas]

TASK [geerlingguy.nfs : include_tasks] *********************************************************************************skipping: [ansible-nas]

TASK [geerlingguy.nfs : include_tasks] *********************************************************************************included: /home/ubuntu/.ansible/roles/geerlingguy.nfs/tasks/setup-Debian.yml for ansible-nas

TASK [geerlingguy.nfs : Ensure NFS utilities are installed.] ***********************************************************changed: [ansible-nas]

TASK [geerlingguy.nfs : Ensure directories to export exist] ************************************************************changed: [ansible-nas] => (item=/mnt/Volume3/public *(rw,sync,no_root_squash))

TASK [geerlingguy.nfs : Copy exports file.] ****************************************************************************changed: [ansible-nas]

TASK [geerlingguy.nfs : Ensure nfs is running.] ************************************************************************ok: [ansible-nas]

TASK [ansible-nas-general : Set login banner] **************************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Enable Universe repository] ****************************************************************ok: [ansible-nas]

TASK [ansible-nas-general : Update apt-cache] **************************************************************************ok: [ansible-nas]

TASK [ansible-nas-general : Upgrade all packages] **********************************************************************skipping: [ansible-nas]

TASK [ansible-nas-general : Install some packages] *********************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Set hostname to ansible-nas] ***************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Set timezone to Etc/UTC] *******************************************************************changed: [ansible-nas]

TASK [ansible-nas-general : Permission share directories] **************************************************************changed: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})
changed: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})
changed: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})
changed: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})
changed: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})
changed: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})
changed: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})
changed: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})
changed: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})
changed: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})
changed: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})
changed: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [ansible-nas-docker : Install python3-pip] ************************************************************************
changed: [ansible-nas]

TASK [ansible-nas-docker : Remove docker-py python module] *************************************************************
ok: [ansible-nas]

TASK [ansible-nas-docker : Install docker python module] ***************************************************************
changed: [ansible-nas]

TASK [ansible-nas-docker : Create Docker home directory] ***************************************************************
changed: [ansible-nas]

TASK [ansible-nas-docker : Add user account to Docker group] ***********************************************************
changed: [ansible-nas]

TASK [ansible-nas-docker : Generate Docker daemon.json] ****************************************************************
changed: [ansible-nas]

TASK [ansible-nas-docker : Restart Docker] *****************************************************************************
changed: [ansible-nas]

TASK [airsonic : Create Airsonic Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/airsonic/data)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/airsonic/playlists)

TASK [airsonic : Airsonic Docker Container] ****************************************************************************
skipping: [ansible-nas]

TASK [bazarr : Create Bazarr Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/bazarr/config)

TASK [bazarr : Bazarr] *************************************************************************************************
skipping: [ansible-nas]

TASK [bitwarden : Create Bitwarden Directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/bitwarden)

TASK [bitwarden : Bitwarden Docker Container] **************************************************************************
skipping: [ansible-nas]

TASK [bitwarden : Bitwarden Backup Container] **************************************************************************
skipping: [ansible-nas]

TASK [booksonic : Create Booksonic Directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/booksonic/data)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/booksonic/playlists)

TASK [booksonic : Booksonic Docker Container] **************************************************************************
skipping: [ansible-nas]

TASK [cloudcmd : Create Cloudcmd Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/cloudcmd/config)

TASK [cloudcmd : Create Cloudcmd Docker Container] *********************************************************************
skipping: [ansible-nas]

TASK [cloudflare_ddns : Check for deprecated API key] ******************************************************************
skipping: [ansible-nas]

TASK [cloudflare_ddns : Create cloudflare Dynamic DNS Directories] *****************************************************
skipping: [ansible-nas]

TASK [cloudflare_ddns : Template Cloudflare Dynamic DNS config.yml with scoped token] **********************************
skipping: [ansible-nas]

TASK [cloudflare_ddns : Cloudflare Dynamic DNS Container] **************************************************************
skipping: [ansible-nas]

TASK [couchpotato : Create Couchpotato Directories] ********************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/couchpotato/config)

TASK [couchpotato : Couchpotato Docker Container] **********************************************************************
skipping: [ansible-nas]

TASK [deluge : Create Deluge Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/deluge/config)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads)

TASK [deluge : Deluge Docker Container] ********************************************************************************
skipping: [ansible-nas]

TASK [duplicacy : Create Duplicacy Directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/duplicacy/config)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/duplicacy/logs)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/duplicacy/cache)

TASK [duplicacy : Duplicacy Docker Container] **************************************************************************
skipping: [ansible-nas]

TASK [duplicati : Create Duplicati Directory] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/duplicati/config)

TASK [duplicati : Dupicati Docker Container] ***************************************************************************
skipping: [ansible-nas]

TASK [emby : Create Emby Directories] **********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/emby/config)

TASK [emby : emby Docker Container] ************************************************************************************
skipping: [ansible-nas]

TASK [firefly : Create Firefly III Directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/firefly/postgresql)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/firefly/mysql)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/firefly/upload)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/firefly/export)

TASK [firefly : Create MySQL container for Firefly] ********************************************************************
skipping: [ansible-nas]

TASK [firefly : Wait for MySQL to init] ********************************************************************************
skipping: [ansible-nas]

TASK [firefly : Create Firefly III container] **************************************************************************
skipping: [ansible-nas]

TASK [get_iplayer : Create get_iplayer Directories] ********************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/get_iplayer)
skipping: [ansible-nas] => (item=/mnt/Volume3/tv/iplayer_downloads)

TASK [get_iplayer : get_iplayer Docker Container] **********************************************************************
skipping: [ansible-nas]

TASK [gitea : Create Gitea group account] ******************************************************************************
skipping: [ansible-nas]

TASK [gitea : Create Gitea user account] *******************************************************************************
skipping: [ansible-nas]

TASK [gitea : Create Gitea Directories] ********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/gitea/gitea)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/gitea/mysql)

TASK [gitea : Create MySQL container for Gitea] ************************************************************************
skipping: [ansible-nas]

TASK [gitea : Create Gitea container] **********************************************************************************
skipping: [ansible-nas]

TASK [gitlab : Create Gitlab group account] ****************************************************************************
skipping: [ansible-nas]

TASK [gitlab : Create Gitlab user account] *****************************************************************************
skipping: [ansible-nas]

TASK [gitlab : Create Gitlab user account] *****************************************************************************
skipping: [ansible-nas]

TASK [gitlab : Create Gitlab Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/gitlab/config)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/gitlab/log)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/gitlab/data)

TASK [gitlab : Create Gitlab Docker Container] *************************************************************************
skipping: [ansible-nas]

TASK [glances : Create Glances Docker Container] ***********************************************************************
skipping: [ansible-nas]

TASK [gotify : Create Gotify Data Directory] ***************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/gotify)

TASK [gotify : Gotify Docker Container] ********************************************************************************
skipping: [ansible-nas]

TASK [heimdall : Create Heimdall group] ********************************************************************************
changed: [ansible-nas]

TASK [heimdall : Create Heimdall user] *********************************************************************************
changed: [ansible-nas]

TASK [heimdall : Create Heimdall Directories] **************************************************************************
changed: [ansible-nas] => (item=/mnt/Volume2/docker/heimdall)

TASK [heimdall : Create Heimdall container] ****************************************************************************
[WARNING]: Docker warning: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory
limited without swap.
changed: [ansible-nas]

TASK [homeassistant : Create Home Assistant Directories] ***************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/homeassistant/config)

TASK [homeassistant : Home Assistant Docker Container] *****************************************************************
skipping: [ansible-nas]

TASK [homebridge : Create Homebridge Directories] **********************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/homebridge/config)

TASK [homebridge : Create Homebridge Docker Container] *****************************************************************
skipping: [ansible-nas]

TASK [jackett : Create jackett Directories] ****************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/jackett)

TASK [jackett : jackett] ***********************************************************************************************
skipping: [ansible-nas]

TASK [komga : Create Komga Directories] ********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/komga)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/komga/config)

TASK [komga : komga Docker Container] **********************************************************************************
skipping: [ansible-nas]

TASK [lidarr : Create Lidarr Directory] ********************************************************************************
skipping: [ansible-nas]

TASK [lidarr : Lidarr Docker Container] ********************************************************************************
skipping: [ansible-nas]

TASK [minidlna : MiniDLNA Docker Container] ****************************************************************************
skipping: [ansible-nas]

TASK [miniflux : Create Miniflux Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/miniflux/postgres)

TASK [miniflux : Create Postgres for Miniflux] *************************************************************************
skipping: [ansible-nas]

TASK [miniflux : Create Miniflux Docker Container] *********************************************************************
skipping: [ansible-nas]

TASK [mylar : Create Mylar Directories] ********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/mylar/config)

TASK [mylar : mylar Docker Container] **********************************************************************************
skipping: [ansible-nas]

TASK [mymediaforalexa : Create Mymediaforalexa Directories] ************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume3/music)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/mymediaforalexa)

TASK [mymediaforalexa : mymediaforalexa Docker Container] **************************************************************
skipping: [ansible-nas]

TASK [n8n : Create n8n Directory] **************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/n8n)

TASK [n8n : n8n Docker Container] **************************************************************************************
skipping: [ansible-nas]

TASK [netbootxyz : netbootxyz Directory] *******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/netbootxyz/config)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/netbootxyz/assets)

TASK [netbootxyz : netbootxyz Docker Container] ************************************************************************
skipping: [ansible-nas]

TASK [netdata : Get docker group id] ***********************************************************************************
skipping: [ansible-nas]

TASK [netdata : Netdata Docker Container] ******************************************************************************
skipping: [ansible-nas]

TASK [nextcloud : Create Nextcloud directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/nextcloud/nextcloud)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/nextcloud/mysql)

TASK [nextcloud : Nextcloud Mysql Docker Container] ********************************************************************
skipping: [ansible-nas]

TASK [nextcloud : Nextcloud Docker Container] **************************************************************************
skipping: [ansible-nas]

TASK [nzbget : Create NZBget Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/nzbget)

TASK [nzbget : NZBGet] *************************************************************************************************
skipping: [ansible-nas]

TASK [organizr : Create Organizr Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/organizr)

TASK [organizr : Create Organizr container] ****************************************************************************
skipping: [ansible-nas]

TASK [paperless_ng : Create paperless_ng directories] ******************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/paperless_ng)
skipping: [ansible-nas] => (item=/mnt/Volume3/documents/paperless)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/paperless_ng/postgres)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/paperless_ng/data)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/paperless_ng/export)
skipping: [ansible-nas] => (item=/mnt/Volume3/documents/paperless/media)
skipping: [ansible-nas] => (item=/mnt/Volume3/documents/paperless/consume)

TASK [paperless_ng : Create paperless_ng network] **********************************************************************
skipping: [ansible-nas]

TASK [paperless_ng : paperless_ng redis broker] ************************************************************************
skipping: [ansible-nas]

TASK [paperless_ng : paperless_ng postgres Docker Container] ***********************************************************
skipping: [ansible-nas]

TASK [paperless_ng : paperless_ng UI Docker Container] *****************************************************************
skipping: [ansible-nas]

TASK [portainer : Create Portainer Directories] ************************************************************************
changed: [ansible-nas] => (item=/mnt/Volume2/docker/portainer/config)

TASK [portainer : Portainer Docker Container] **************************************************************************
changed: [ansible-nas]

TASK [prowlarr : Create Prowlarr Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/prowlarr/config)

TASK [prowlarr : prowlarr] *********************************************************************************************
skipping: [ansible-nas]

TASK [pyload : Create pyLoad Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/pyload)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads)

TASK [pyload : pyLoad Docker Container] ********************************************************************************
skipping: [ansible-nas]

TASK [ombi : Create Ombi Directories] **********************************************************************************
skipping: [ansible-nas]

TASK [ombi : Ombi Docker Container] ************************************************************************************
skipping: [ansible-nas]

TASK [plex : Create Plex Directories] **********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/plex/config)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/plex/logs)

TASK [plex : plex Docker Container] ************************************************************************************
skipping: [ansible-nas]

TASK [radarr : Create Radarr Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/radarr)

TASK [radarr : Radarr] *************************************************************************************************
skipping: [ansible-nas]

TASK [sickchill : Create Sickchill Directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/sickchill/config)

TASK [sickchill : Sickchill Docker Container] **************************************************************************
skipping: [ansible-nas]

TASK [sonarr : Create Sonarr Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/sonarr/config)

TASK [sonarr : Sonarr] *************************************************************************************************
skipping: [ansible-nas]

TASK [syncthing : Create Syncthing Directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume3/syncthing)

TASK [syncthing : Syncthing Docker Container] **************************************************************************
skipping: [ansible-nas]

TASK [tautulli : Create Tautulli Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/tautulli/config)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/plex/logs)

TASK [tautulli : Tautulli Docker Container] ****************************************************************************
skipping: [ansible-nas]

TASK [transmission : Create Transmission Directories] ******************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/transmission/config)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads)
skipping: [ansible-nas] => (item=/mnt/Volume3/torrents)

TASK [transmission : Transmission Docker Container] ********************************************************************
skipping: [ansible-nas]

TASK [transmission-with-openvpn : Create Transmission Directories] *****************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/transmission/config)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads)
skipping: [ansible-nas] => (item=/mnt/Volume3/torrents)

TASK [transmission-with-openvpn : Transmission with VPN] ***************************************************************
skipping: [ansible-nas]

TASK [utorrent : Create uTorrent Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/utorrent/config)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads/.incomplete)

TASK [utorrent : uTorrent Docker Container] ****************************************************************************
skipping: [ansible-nas]

TASK [traefik : Create Traefik Directories] ****************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/traefik)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/traefik/letsencrypt)

TASK [traefik : Template Traefik config.toml] **************************************************************************
skipping: [ansible-nas]

TASK [traefik : Traefik Docker Container] ******************************************************************************
skipping: [ansible-nas]

TASK [watchtower : Watchtower Docker Container] ************************************************************************
skipping: [ansible-nas]

TASK [znc : Create ZNC Directories] ************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/znc)

TASK [znc : Create ZNC Docker Container] *******************************************************************************
skipping: [ansible-nas]

TASK [dokuwiki : Create DokuWiki Directories] **************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/dokuwiki/data)

TASK [dokuwiki : DokuWiki Docker Container] ****************************************************************************
skipping: [ansible-nas]

TASK [piwigo : Create Piwigo Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/piwigo/config)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/piwigo/data)
skipping: [ansible-nas] => (item=/mnt/Volume3/photos/piwigo)

TASK [piwigo : create MySQL container for Piwigo] **********************************************************************
skipping: [ansible-nas]

TASK [piwigo : Piwigo Docker Container] ********************************************************************************
skipping: [ansible-nas]

TASK [The Lounge Directories] ******************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/thelounge)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/thelounge/users)

TASK [Set up admin user] ***********************************************************************************************
skipping: [ansible-nas]

TASK [The Lounge Docker Container] *************************************************************************************
skipping: [ansible-nas]

TASK [Time Machine Directories] ****************************************************************************************
skipping: [ansible-nas]

TASK [Time Machine Docker Container] ***********************************************************************************
skipping: [ansible-nas]

TASK [Install avahi] ***************************************************************************************************
skipping: [ansible-nas]

TASK [Setup timemachine service for avahi] *****************************************************************************
skipping: [ansible-nas]

TASK [Reload avahi configuration] **************************************************************************************
skipping: [ansible-nas]

TASK [Create InfluxDB and Telegraf Directories] ************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/influxdb)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/telegraf)

TASK [Create Grafana Directories] **************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/grafana)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/grafana/data)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/grafana/data/dashboards/ansible-nas)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/grafana/config/)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/grafana/config/provisioning)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/grafana/config/provisioning/datasources)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/grafana/config/provisioning/dashboards)

TASK [InfluxDB] ********************************************************************************************************
skipping: [ansible-nas]

TASK [hddtemp] *********************************************************************************************************
skipping: [ansible-nas]

TASK [Template telegraf.conf] ******************************************************************************************
skipping: [ansible-nas]

TASK [Telegraf] ********************************************************************************************************
skipping: [ansible-nas]

TASK [Template Grafana data source] ************************************************************************************
skipping: [ansible-nas]

TASK [Copy Ansible-NAS Dashboard Provisioner] **************************************************************************
skipping: [ansible-nas]

TASK [Copy Ansible-NAS Dashboard] **************************************************************************************
skipping: [ansible-nas]

TASK [Grafana] *********************************************************************************************************
skipping: [ansible-nas]

TASK [Create Guacamole directories] ************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/guacamole/config)

TASK [Remove Old Guacamole Mysql Docker Container] *********************************************************************
skipping: [ansible-nas]

TASK [Remove Old Guacamole guacd Docker Container] *********************************************************************
skipping: [ansible-nas]

TASK [Remove old Guacamole directories] ********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/guacamole/mysql)

TASK [Guacamole Container] *********************************************************************************************
skipping: [ansible-nas]

TASK [Restart Guacamole Container] *************************************************************************************
skipping: [ansible-nas]

TASK [Create Joomla Directories] ***************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/joomla)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/joomla/db)

TASK [MySQL Docker Container for Joomla] *******************************************************************************
skipping: [ansible-nas]

TASK [Joomla Docker Container] *****************************************************************************************
skipping: [ansible-nas]

TASK [Create Wallabag Directories] *************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/wallabag/data)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/wallabag/images)

TASK [Wallabag Docker Container] ***************************************************************************************
skipping: [ansible-nas]

TASK [Create Mosquitto Directories] ************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/mosquitto/config)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/mosquitto/data)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/mosquitto/log)

TASK [Template mosquitto.conf] *****************************************************************************************
skipping: [ansible-nas]

TASK [Create Mosquitto container] **************************************************************************************
skipping: [ansible-nas]

TASK [Create Calibre-web Directories] **********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/calibre/config)

TASK [Calibre-web Docker Container] ************************************************************************************
skipping: [ansible-nas]

TASK [Create openHAB group] ********************************************************************************************
skipping: [ansible-nas]

TASK [Create openHAB user] *********************************************************************************************
skipping: [ansible-nas]

TASK [Create openHAB Directories] **************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/openhab)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/openhab/conf)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/openhab/userdata)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/openhab/addons)

TASK [Create openHAB container] ****************************************************************************************
skipping: [ansible-nas]

TASK [Create Jellyfin Directories] *************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/jellyfin/config)

TASK [Jellyfin Docker Container] ***************************************************************************************
skipping: [ansible-nas]

TASK [Krusader Directory] **********************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/krusader/config/krusader)

TASK [Krusader Docker Container] ***************************************************************************************
skipping: [ansible-nas]

TASK [Create Ubooquity Directories] ************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/ubooquity)

TASK [Ubooquity Docker Container] **************************************************************************************
skipping: [ansible-nas]

TASK [YouTubeDL-Material Directory] ************************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/youtubedlmaterial/appdata)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/youtubedlmaterial/audio)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/youtubedlmaterial/video)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/youtubedlmaterial/subscriptions)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads/youtube/audio)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads/youtube/video)
skipping: [ansible-nas] => (item=/mnt/Volume3/downloads/youtube/subscriptions)

TASK [YouTubeDL-Material Docker Container] *****************************************************************************
skipping: [ansible-nas]

TASK [Create Virtual Desktop Directories] ******************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/virtual_desktop)
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/virtual_desktop/home)

TASK [Create users file] ***********************************************************************************************
skipping: [ansible-nas]

TASK [Virtual Desktop Container] ***************************************************************************************
skipping: [ansible-nas]

TASK [PyTivo - create config directory] ********************************************************************************
skipping: [ansible-nas] => (item=/mnt/Volume2/docker/pytivo/config)

TASK [PyTivo - install Docker container] *******************************************************************************
skipping: [ansible-nas]

RUNNING HANDLER [bertvv.samba : Restart Samba services] ****************************************************************
changed: [ansible-nas] => (item=smbd)
changed: [ansible-nas] => (item=nmbd)

RUNNING HANDLER [geerlingguy.nfs : reload nfs] *************************************************************************
changed: [ansible-nas]

PLAY RECAP *************************************************************************************************************
ansible-nas                : ok=39   changed=28   unreachable=0    failed=0    skipped=178  rescued=0    ignored=0
davestephens commented 2 years ago

It looks like you don't have a zfs filesystem, take a look at the docker_storage_driver setting.

On Sun, 20 Feb 2022, 02:49 bairhys, @.***> wrote:

Describe the bug Docker isn't installing. Reviewing the output, looks like geerlingguy.docker role isn't run and somehow ignored, however geerlingguy.nfs role runs and bertvv.samba also runs

Environment

  • Ansible-NAS revision:

@.***:~/ansible-nas$ git rev-parse --short HEAD be2960e

  • Ansible version:

@.***:~/ansible-nas$ ansible --version ansible [core 2.12.2] config file = /home/ubuntu/ansible-nas/ansible.cfg configured module search path = ['/home/ubuntu/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible ansible collection location = /home/ubuntu/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] jinja version = 2.10.1 libyaml = True

  • Ansible-NAS operating system:

@.***:~/ansible-nas$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"

  • Ansible-NAS kernel:

@.***:~/ansible-nas$ uname -a Linux ansible-nas 5.4.0-97-generic #110-Ubuntu SMP Thu Jan 13 18:22:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  • Ansible-NAS Python version:

@.***:~/ansible-nas$ python --version

Command 'python' not found, did you mean:

command 'python3' from deb python3 command 'python' from deb python-is-python3

  • Ansible-NAS Docker version:

@.***:~/ansible-nas$ docker --version

Command 'docker' not found, but can be installed with:

sudo apt install docker.io

  • Latest Docker logs (journalctl -u docker.service on the Ansible-NAS box):

@.***:~/ansible-nas$ journalctl -u docker.service -- Logs begin at Sun 2022-02-20 02:02:22 UTC, end at Sun 2022-02-20 02:17:21 UTC. -- -- No entries --

  • Are you running the playbook from a remote box or the Ansible-NAS box itself? Running locally on the Ansible-NAS
  • Vagrant version, if testing (vagrant --version):
  • Ansible-NAS filesystems (df -hT on the Ansible-NAS box):

@.***:~/ansible-nas$ df -hT Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 440M 0 440M 0% /dev tmpfs tmpfs 92M 2.5M 89M 3% /run /dev/sda1 ext4 4.7G 2.4G 2.3G 52% / tmpfs tmpfs 457M 0 457M 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 457M 0 457M 0% /sys/fs/cgroup /dev/loop0 squashfs 62M 62M 0 100% /snap/core20/1328 /dev/loop1 squashfs 68M 68M 0 100% /snap/lxd/21835 /dev/loop2 squashfs 44M 44M 0 100% /snap/snapd/14549 /dev/sda15 vfat 105M 5.2M 100M 5% /boot/efi tmpfs tmpfs 92M 0 92M 0% /run/user/1000

  • Mounted filesystems (mount on the Ansible-NAS box):

@.***:~/ansible-nas$ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=450052k,nr_inodes=112513,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=93440k,nr_inodes=116798,mode=755) /dev/sda1 on / type ext4 (rw,relatime) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,size=467192k,nr_inodes=116798) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,nr_inodes=116798) tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,size=467192k,nr_inodes=116798,mode=755) cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids) cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb) cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event) cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct) cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma) cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio) cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer) cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices) cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13743) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) /var/lib/snapd/snaps/core20_1328.snap on /snap/core20/1328 type squashfs (ro,nodev,relatime,x-gdu.hide) /var/lib/snapd/snaps/lxd_21835.snap on /snap/lxd/21835 type squashfs (ro,nodev,relatime,x-gdu.hide) /var/lib/snapd/snaps/snapd_14549.snap on /snap/snapd/14549 type squashfs (ro,nodev,relatime,x-gdu.hide) /dev/sda15 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) tmpfs on /run/snapd/ns type tmpfs (rw,nosuid,nodev,noexec,relatime,size=93440k,nr_inodes=116798,mode=755) nsfs on /run/snapd/ns/lxd.mnt type nsfs (rw) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=93436k,nr_inodes=116798,mode=700,uid=1000,gid=1000) sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime) nfsd on /proc/fs/nfsd type nfsd (rw,relatime)

all.yml Variables

  • docker_image_directory: default "{{ docker_home }}/data"
  • docker_home: default /mnt/Volume2/docker
  • docker_storage_driver: default"{{ docker_storage_driver }}"
  • samba_shares_root: default samba_shares_root: /mnt/Volume3

Expected behavior geerlingguy.docker should run and install docker

Actual behavior geerlingguy.docker is ignored and doesn't run

Steps to reproduce

  1. Launch a new multipass ubuntu VM

    1. I follow the instructions here https://davidstephens.uk/ansible-nas/installation/
    2. At step 5, I don't edit inventories/my-ansible-nas/group_vars/nas.yml and use as is. So ansible-nas should at least install heimdall and portainer containers:

@.***:~/ansible-nas$ cat inventories/my-ansible-nas/groupvars/nas.yml ---## .____. .## _ __ _|_ | | | ____## _ \ / \ / _/ || | | / \ ____ / \_ \ / _/## / | | \_ | || _\ \ |_\ _/ /___/ | | \/ __ ## (__ /| /__ >__|| /_/\ > |_| (__ /____ >## \/ \/ \/ \/ \/ \/ \/ \/## a n s i b l e - n a s https://github.com/davestephens/ansible-nas

Add your all.yml config overrides to this file. See group_vars/all.yml for all possible settings.

Example options

ansible_nas_hostname: ansible-nas ansible_nas_timezone: Etc/UTC

Enable some applications

heimdall_enabled: true portainer_enabled: true

  1. Step 6, I run on VM so ininventories/my-ansible-nas/inventory I uncomment line 15 to

@.***:~/ansible-nas$ cat inventories/my-ansible-nas/inventory## ._. ._## _ ____|_\ | | | ____## _ \ / \ / _/ || | | / \ ____ / \_ \ / _/## / | | \_ | || _\ \ |_\ _/ /___/ | | \/ __ ## (__ /| /__ >__|| /_/\ > |_| (__ /____ >## \/ \/ \/ \/ \/ \/ \/ \/## a n s i b l e - n a s https://github.com/davestephens/ansible-nas

[all]## Example when running from a remote workstation# ansible-nas ansible_host=192.168.1.30

Example when running directly on your Ansible-NAS server

ansible-nas ansible_connection=local ansible_host=localhost

[nas] ansible-nas

Playbook Output

@.***:~/ansible-nas$ ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K BECOME password:

PLAY [all] ***** TASK [Gathering Facts] *ok: [ansible-nas]

TASK [Create ansible-nas group] ****changed: [ansible-nas]

TASK [Create ansible-nas user] *****changed: [ansible-nas]

TASK [bertvv.samba : Include OS specific variables] ****ok: [ansible-nas] => (item=/home/ubuntu/.ansible/roles/bertvv.samba/vars/os_Debian.yml)

TASK [bertvv.samba : Install Samba packages] ***changed: [ansible-nas]

TASK [bertvv.samba : Install Samba VFS extensions packages] ****ok: [ansible-nas]

TASK [bertvv.samba : Register Samba version] ***ok: [ansible-nas]

TASK [bertvv.samba : Install SELinux package] **skipping: [ansible-nas]

TASK [bertvv.samba : Make sure SELinux boolean settings are correct] * TASK [bertvv.samba : Create Samba shares root directory] *****changed: [ansible-nas]

TASK [bertvv.samba : Create share directories] *****changed: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'}) changed: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'}) changed: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'}) changed: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'}) changed: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'}) changed: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'}) changed: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'}) changed: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'}) changed: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'}) changed: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'}) changed: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'}) changed: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Ensure webserver document root exists] ****skipping: [ansible-nas]

TASK [bertvv.samba : Create link to shares in webserver document root] *****skipping: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'}) skipping: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'}) skipping: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'}) skipping: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'}) skipping: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'}) skipping: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'}) skipping: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'}) skipping: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'}) skipping: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'}) skipping: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'}) skipping: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'}) skipping: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Samba configuration] **changed: [ansible-nas]

TASK [bertvv.samba : Install global include file] **skipping: [ansible-nas]

TASK [bertvv.samba : Install home include file] ****skipping: [ansible-nas]

TASK [bertvv.samba : Install share specific include files] *****skipping: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'}) skipping: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'}) skipping: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'}) skipping: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'}) skipping: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'}) skipping: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'}) skipping: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'}) skipping: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'}) skipping: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'}) skipping: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'}) skipping: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'}) skipping: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})

TASK [bertvv.samba : Create username map file if needed] ***skipping: [ansible-nas]

TASK [bertvv.samba : Start Samba service(s)] ***ok: [ansible-nas] => (item=smbd) ok: [ansible-nas] => (item=nmbd)

TASK [bertvv.samba : Create Samba users if they don't exist yet] *skipping: [ansible-nas]TASK [geerlingguy.nfs : Include OS-specific variables.] ****ok: [ansible-nas]TASK [geerlingguy.nfs : Include overrides specific to Fedora.] ***skipping: [ansible-nas]TASK [geerlingguy.nfs : include_tasks] skipping: [ansible-nas]TASK [geerlingguy.nfs : include_tasks] included: /home/ubuntu/.ansible/roles/geerlingguy.nfs/tasks/setup-Debian.yml for ansible-nasTASK [geerlingguy.nfs : Ensure NFS utilities are installed.] *changed: [ansible-nas]TASK [geerlingguy.nfs : Ensure directories to export exist] ****changed: [ansible-nas] => (item=/mnt/Volume3/public *(rw,sync,no_root_squash))TASK [geerlingguy.nfs : Copy exports file.] **changed: [ansible-nas]TASK [geerlingguy.nfs : Ensure nfs is running.] ****ok: [ansible-nas]TASK [ansible-nas-general : Set login banner] **changed: [ansible-nas]TASK [ansible-nas-general : Enable Universe repository] ****ok: [ansible-nas]TASK [ansible-nas-general : Update apt-cache] **ok: [ansible-nas]TASK [ansible-nas-general : Upgrade all packages] **skipping: [ansible-nas]TASK [ansible-nas-general : Install some packages] ***changed: [ansible-nas]TASK [ansible-nas-general : Set hostname to ansible-nas] *changed: [ansible-nas]TASK [ansible-nas-general : Set timezone to Etc/UTC] ***changed: [ansible-nas]TASK [ansible-nas-general : Permission share directories] **changed: [ansible-nas] => (item={'name': 'downloads', 'comment': 'Stuff downloaded', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/downloads'})changed: [ansible-nas] => (item={'name': 'movies', 'comment': 'Movies', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/movies'})changed: [ansible-nas] => (item={'name': 'tv', 'comment': 'TV Episodes', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/tv'})changed: [ansible-nas] => (item={'name': 'music', 'comment': 'Music', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/music'})changed: [ansible-nas] => (item={'name': 'podcasts', 'comment': 'Podcasts', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/podcasts'})changed: [ansible-nas] => (item={'name': 'dump', 'comment': 'File dump', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/dump'})changed: [ansible-nas] => (item={'name': 'games', 'comment': 'Games', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/games'})changed: [ansible-nas] => (item={'name': 'photos', 'comment': 'Pictures', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/photos'})changed: [ansible-nas] => (item={'name': 'books', 'comment': 'Books', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/books'})changed: [ansible-nas] => (item={'name': 'audiobooks', 'comment': 'Audiobooks', 'guest_ok': True, 'public': True, 'writable': True, 'browsable': True, 'path': '/mnt/Volume3/audiobooks'})changed: [ansible-nas] => (item={'name': 'comics', 'comment': 'Comics', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/comics'})changed: [ansible-nas] => (item={'name': 'documents', 'comment': 'Documents', 'guest_ok': True, 'public': True, 'writable': True, 'browseable': True, 'path': '/mnt/Volume3/documents'})TASK [ansible-nas-docker : Install python3-pip] ****changed: [ansible-nas]TASK [ansible-nas-docker : Remove docker-py python module] *ok: [ansible-nas]TASK [ansible-nas-docker : Install docker python module] changed: [ansible-nas]TASK [ansible-nas-docker : Create Docker home directory] changed: [ansible-nas]TASK [ansible-nas-docker : Add user account to Docker group] *fatal: [ansible-nas]: FAILED! => {"changed": false, "msg": "Group docker does not exist"}RUNNING HANDLER [bertvv.samba : Restart Samba services] ****RUNNING HANDLER [geerlingguy.nfs : reload nfs] ***PLAY RECAP *****ansible-nas : ok=28 changed=17 unreachable=0 failed=1 skipped=12 rescued=0 ignored=0

Additional context All output above is on a new multipass VM but also have same issue on my new ubuntu 20.04 server

— Reply to this email directly, view it on GitHub https://github.com/davestephens/ansible-nas/issues/518, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFDGMHSSA5VITUTKYZMPGTU4BJDHANCNFSM5O3ZJTZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

bairhys commented 2 years ago

I am a bit confused. As I understand, taking a look at ansible-nas/roles/ansible-nas-docker/defaults/main.yml, if docker_home is stored on zfs, better to use docker_storage_driver: zfs. If docker_home is stored on ext4, better to use docker_storage_driver: overlay2.

The VM I am testing with, docker_home is on ext4, so I should use docker_storage_driver: overlay2. The default setting in ansible-nas/roles/ansible-nas-docker/defaults/main.yml is docker_storage_driver: overlay2 so I am confused what I should do?

JakeWorrell commented 2 years ago

For what it's worth, I recently got up and running with ansible-nas and also had an issue with docker not installing. It turned out that Ansible was seeing the included geerlingguy.docker directory and because it is empty (save for the .yamllint) assuming that there was no work to do. Removing roles/geerlingguy.docker/ in my clone of the ansible-nas repo fixed this for me

if it's helpful at all I'm on ansible-playbook v2.8.0

davestephens commented 2 years ago

@JakeWorrell Thanks for the input - I think this was actually caused by me being an idiot and committing something I didn't mean to commit.

@bairhys Sorry for sending you off on a wild goose chase - can you try again after pulling from master?

JakeWorrell commented 2 years ago

@JakeWorrell Thanks for the input - I think this was actually caused by me being an idiot and committing something I didn't mean to commit.

haha - I know that feeling!

bairhys commented 2 years ago

No worries, easy to do. Makes sense now why the geerlingguy.docker role didn't run.

I pulled from master and the playbook runs as expected. Thanks for your help @davestephens and @JakeWorrell.