Changeset 15568 for main/waeup-ansible
- Timestamp:
- 26 Aug 2019, 13:17:36 (5 years ago)
- Location:
- main/waeup-ansible
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup-ansible/letsencrypt.yml
r15566 r15568 17 17 vars: 18 18 letsencrypt_email: 'uli@gnufix.de' 19 letsencrypt_domains: 'waeup.org,www.waeup.org,h8.waeup.org,svn.waeup.org,trac.waeup.org, iuokada-trac.waeup.org,v1.waeup.org,v2.waeup.org,v3.waeup.org,v4.waeup.org,v5.waeup.org,v6.waeup.org,elearning.waeup.org,gopinkdreams.com,www.gopinkdreams.com'19 letsencrypt_domains: 'waeup.org,www.waeup.org,h8.waeup.org,svn.waeup.org,trac.waeup.org,aaua-trac.waeup.org,aaue-trac.waeup.org,coewarri-trac.waeup.org,dspg-trac.waeup.org,edopoly-trac.waeup.org, fceokene-trac.waeup.org,iuokada-trac.waeup.org,kwarapoly-trac.waeup.org,moodle-trac.waeup.org,pcn-trac.waeup.org,uniben-trac.waeup.org,wdu-trac.waeup.org,v1.waeup.org,v2.waeup.org,v3.waeup.org,v4.waeup.org,v5.waeup.org,v6.waeup.org,elearning.waeup.org,gopinkdreams.com,www.gopinkdreams.com' 20 20 # set to true if you got some LE certs already, but the list of domains expanded 21 21 letsencrypt_expand_domains: true -
main/waeup-ansible/roles/letsencrypt/tasks/main.yml
r14706 r15568 32 32 creates: '/etc/letsencrypt/accounts/acme-v01.api.letsencrypt.org/directory/*/private_key.json' 33 33 34 - name: "stop webserver" 35 become: yes 36 service: 37 name: nginx 38 state: stopped 39 34 40 # For first time creation of certs. Later on use the below task or renewal 35 41 - name: "create initial certs" … … 45 51 when: letsencrypt_expand_domains 46 52 53 - name: "start webserver" 54 become: yes 55 service: 56 name: nginx 57 state: restarted 58 47 59 # Cron task for renewal is installed automatically by the Ubuntu package
Note: See TracChangeset for help on using the changeset viewer.