Skip to content

Commit

Permalink
Add variable for acme server.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpporter committed Sep 29, 2018
1 parent 02308b1 commit 8224ea6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions jenkins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
gather_facts: false
pre_tasks:
- setup: # aka gather_facts
- import_playbook: setup.yml
ignore_errors: yes
# - name: Add domain to CloudFalre
# cloudflare_dns:
# zone: "{{base_web_domain}}"
Expand All @@ -30,6 +28,7 @@
- vars/main-vars.yml

roles:
- users
- geerlingguy.git
- andrewrothstein.hub
- geerlingguy.postfix
Expand Down
3 changes: 2 additions & 1 deletion vars/main-vars.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ certbot_email: "[email protected]"
certbot_create_if_missing: yes
# Install from source to get dns plugin folders
certbot_install_from_source: yes

# For live certs, uncoment
# certbot_cloudflare_acme_server: "{{ certbot_cloudflare_acme_live }}"
# Email address for Cloudflare Global API Key
certbot_cloudflare_email: "[email protected]"
# ansible-vault encrypt_string 'cloudflareAPIKey' --name 'certbot_cloudflare_api_key'
Expand Down
4 changes: 1 addition & 3 deletions web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
gather_facts: false
pre_tasks:
- setup: # aka gather_facts
- import_playbook: setup.yml
ignore_errors: yes
# - name: Add domain to CloudFalre
# cloudflare_dns:
# zone: "{{base_web_domain}}"
Expand All @@ -30,14 +28,14 @@
- vars/main-vars.yml

roles:
- users
- geerlingguy.git
- andrewrothstein.hub
- geerlingguy.postfix
- role: oefenweb.swapfile
check_mode: no
- setup
- michaelpporter.certbot_cloudflare
- pedrocarmona.github-git-lfs
- geerlingguy.apache
- geerlingguy.php-versions
- geerlingguy.php
Expand Down

0 comments on commit 8224ea6

Please sign in to comment.