diff --git a/files/collections.yml b/files/collections.yml new file mode 100644 index 0000000..3db5d20 --- /dev/null +++ b/files/collections.yml @@ -0,0 +1,32 @@ +--- +collections: + - name: ansible.netcommon + - name: ansible.posix + - name: ansible.utils + - name: ansible.windows + - name: azure.azcollection + - name: chocolatey.chocolatey + - name: community.crypto + - name: community.dns + - name: community.docker + - name: community.general + - name: community.hashi_vault + - name: community.libvirt + - name: community.mongodb + - name: community.mysql + - name: community.network + - name: community.postgresql + - name: community.rabbitmq + - name: community.windows + - name: community.zabbix + - name: containers.podman + - name: fortinet.fortimanager + - name: fortinet.fortios + - name: google.cloud + - name: hetzner.cloud + - name: kubernetes.core + - name: kubevirt.core + - name: microsoft.ad + - name: netapp.ontap + - name: netapp.netbox + - name: vmware.vmware diff --git a/files/requirements.yml b/files/requirements.yml index 3db5d20..2258042 100644 --- a/files/requirements.yml +++ b/files/requirements.yml @@ -1,32 +1,10 @@ --- -collections: - - name: ansible.netcommon - - name: ansible.posix - - name: ansible.utils - - name: ansible.windows - - name: azure.azcollection - - name: chocolatey.chocolatey - - name: community.crypto - - name: community.dns - - name: community.docker - - name: community.general - - name: community.hashi_vault - - name: community.libvirt - - name: community.mongodb - - name: community.mysql - - name: community.network - - name: community.postgresql - - name: community.rabbitmq - - name: community.windows - - name: community.zabbix - - name: containers.podman - - name: fortinet.fortimanager - - name: fortinet.fortios - - name: google.cloud - - name: hetzner.cloud - - name: kubernetes.core - - name: kubevirt.core - - name: microsoft.ad - - name: netapp.ontap - - name: netapp.netbox - - name: vmware.vmware +roles: + - src: geerlingguy.docker + name: docker + - src: bbaassssiiee.postgres_ssl + name: postgres + version: 1.1.1 + - src: bbaassssiiee.nginx_ssl + name: nginx + version: 1.0.0 diff --git a/roles/semaphore/templates/semaphore.service.j2 b/roles/semaphore/templates/semaphore.service.j2 index 6d68eb3..8853403 100644 --- a/roles/semaphore/templates/semaphore.service.j2 +++ b/roles/semaphore/templates/semaphore.service.j2 @@ -23,7 +23,8 @@ StandardError=journal SyslogIdentifier=semaphore ExecStartPre=/bin/bash -c 'pip3.12 install --upgrade --user -r /home/semaphore/requirements.txt' -ExecStartPre=/bin/bash -c 'ansible-galaxy collection install --upgrade -r /home/semaphore/requirements.yml' +ExecStartPre=/bin/bash -c 'ansible-galaxy collection install --upgrade -r /home/semaphore/collections.yml' +ExecStartPre=/bin/bash -c 'ansible-galaxy install --upgrade -r /home/semaphore/requirements.yml' [Install] WantedBy=multi-user.target