| 1234567891011121314151617181920212223242526 |
- - name: renewal certificat www.hory.me
- command: "/root/certbot-auto certonly -n --webroot -w /var/www/renewal -d www.hory.me -d hory.me --rsa-key-size 4096 --text"
- - include: renewal.yml subdomain={{item}}
- with_items:
- - courses.hory.me
- - demo.hory.me
- - git.hory.me
- - monitor.hory.me
- - owncloud.hory.me
- - plante.hory.me
- - postfixadmin.hory.me
- - sgp.hory.me
- - sound.hory.me
- - wiki.hory.me
- - name: disable temporary sites
- command: "a2dissite *"
- args:
- chdir: "/etc/apache2/sites-enabled"
- - name: remove temporary config
- file:
- path: /etc/apache2/sites-available/renewal.conf
- state: absent
|