First try

This commit is contained in:
Fabio Sinibaldi 2026-05-27 19:05:49 +02:00
parent c870afdd50
commit d73c37dc9e
5 changed files with 72 additions and 8 deletions

View File

@ -0,0 +1,7 @@
---
automotive:
children:
web:
hosts:
automotive.sse.cloud.isti.cnr.it:
#automotive2.sse.cloud.isti.cnr.it:

View File

@ -1,9 +1,12 @@
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
36323030396532326432653332633031386532393564653565623231343037376432626337353666 34353564303462326566326536303539333538303138356630316163613538383033353166396231
3136663234656635613337653036356366363431346263630a313034633838663263663662653639 3830643839333330373965323333656666333833653266650a656261663234363434336430343663
64333761373334633465363632646366656430626362623630343830383735663830303462623630 38616130346632303664393162326463663866333765623739393961663135616432333862623539
6465323036343965640a393536313637623930613431643962613237363733653163613366643837 3039333232653938350a383565313339316339646634643532306135383365326230363063636533
64616462626165396632353365666334363035393864386534363831643631646530663739323538 65393862643563616162663533303633343732656465666133353862396464373265343137376438
61646635343264393737336666653330383863623362663166306632653939376463653362363431 36363034333565626261376665643033616366643431343432653261646132323463633838626439
33366334306330643266303730653863633363303964316361626665363262343833323063343932 39386266346664346135333966613862636336343837383163336366623763313737306537353233
31313938626338326431 35323566653939643831663234323637373631316436653165653332613030346331353365303834
34656535633063626233373432653830306364323035626135623231363739383235343734656463
64333134626333323032313431613235306538383735323364326235306564356138343061353935
396263386437613738643465313161323337

View File

@ -0,0 +1,11 @@
---
web_projects_dir: /var/www/demosifisite
wordpress_site_name: demosifisite
wordpress_domain_name: beta.demosifisite.isti.cnr.it
wordpress_database_server: localhost
wordpress_database_port: 3306
wordpress_database_name: wp_demosifisite
wordpress_database_username: demosifisite
wordpress_database_password: "{{ automotive_demosifisite_mysql_password }}"
wordpress_version: 6.4

View File

@ -0,0 +1,13 @@
---
- name: Install and configure Wordpress
hosts: all
collections:
- iamgini.wordpress
become : True
roles:
- ufw_install
- nginx_install
- wordpress_install

30
ansible/requirements.yml Normal file
View File

@ -0,0 +1,30 @@
# requirements.yml
---
roles:
# - name: bodsch.dns.bind
# version:
# - name: nginx
# src: git@github.com:myorg/ansible-role-nginx.git
# scm: git
# version: v2.0.0
collections:
- name: bodsch.dns
source: https://github.com/bodsch/ansible-collection-dns.git
type: git
version: 1.4.1
- name: dsglaser.cis_security
version: 1.5.4
- name: iamgini.wordpress
version: 1.0.0
# - name: community.postgresql
# version: "3.2.0"
# - name: ansible.posix
# version: "1.5.4"
# - name: myorg.infrastructure
# source: https://hub.internal.com/api/galaxy/
# version: "1.0.0"