Commit bbab2d64 authored by Connor Cleveland's avatar Connor Cleveland

Formatting and line char count fixes

parent 63d880a4
......@@ -17,7 +17,7 @@ stages:
ansible-lint:
stage: test
script:
- find ./playbooks/ -name '*.yml' | xargs -n1 ansible-lint
- find ./playbooks/ -name '*.yml' | xargs -n1 ansible-lint -x ANSIBLE0204 # ignore lines longer than 160 char TODO: consider block chomping
ansible-syntax-check:
stage: test
......@@ -70,4 +70,4 @@ install-bungeecord:
- ansible-playbook --user root -i ./inventory/all_machines.yml ./playbooks/install_bungeecord.yml --limit 'bungeecord'
only:
- master
when: manual
\ No newline at end of file
when: manual
......@@ -5,27 +5,27 @@
email: "{{ ansible_env.CF_EMAIL }}"
token: "{{ ansible_env.CF_TOKEN }}"
bgf_zone: bellagoatfarms.com
ipv4: "{{ ansible_env.IPV4MKE }}"
ipv4: "{{ ansible_env.IPV4MKE }}"
ipv6: "{{ ansible_env.IPV6MKE }}"
tasks:
- name: Add A record for bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
proxied: true
ttl: 1
value: "{{ ipv4 }}"
value: "{{ ipv4 }}"
record: "{{ bgf_zone }}"
type: A
state: present
- name: Add CNAME record for www.bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
......@@ -38,8 +38,8 @@
- name: Add CNAME record for email.s.bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
......@@ -52,8 +52,8 @@
- name: Add CNAME record for imap.bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
......@@ -66,8 +66,8 @@
- name: Add CNAME record for mail.bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
......@@ -80,8 +80,8 @@
- name: Add CNAME record for smtp.bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
......@@ -94,8 +94,8 @@
- name: Add CNAME record for status.bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
......@@ -104,12 +104,12 @@
value: stats.uptimerobot.com
record: status
type: CNAME
state: present
state: present
- name: Add CNAME record for email.s.bellagoatfarms.com
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ bgf_zone }}"
solo: true
......@@ -205,4 +205,4 @@
value: "v=spf1 include:mailgun.org ~all"
record: s
type: TXT
state: present
\ No newline at end of file
state: present
This diff is collapsed.
......@@ -7,33 +7,33 @@
friends_zone: friendsofknc.org
kish_zone: kishwauketoe.org
kncwb_zone: kncwb.org
ipv4: "{{ ansible_env.IPV4ORD }}"
ipv4: "{{ ansible_env.IPV4ORD }}"
ipv6: "{{ ansible_env.IPV6ORD }}"
tasks:
- name: Add A record for kishwauketoe.org
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ kish_zone }}"
solo: true
zone: "{{ kish_zone }}"
solo: true
proxied: true
ttl: 1
value: "{{ ipv4 }}"
value: "{{ ipv4 }}"
record: "{{ kish_zone }}"
type: A
state: present
- name: Add AAAA dns for kishwauketoe.org
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ kish_zone }}"
solo: true
proxied: true
ttl: 1
value: "{{ ipv6 }}"
value: "{{ ipv6 }}"
record: "{{ kish_zone }}"
type: AAAA
state: present
......@@ -79,7 +79,7 @@
record: email.s
type: CNAME
state: present
- name: add MXA for s.kishwauketoe.org
cloudflare_dns:
account_email: "{{ email }}"
......@@ -140,28 +140,28 @@
- name: Add A record for friendsofknc.org
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ friends_zone }}"
solo: true
zone: "{{ friends_zone }}"
solo: true
proxied: true
ttl: 1
value: "{{ ipv4 }}"
value: "{{ ipv4 }}"
record: "{{ friends_zone }}"
type: A
state: present
- name: Add AAAA dns for friendsofknc.org
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ friends_zone }}"
solo: true
proxied: true
ttl: 1
value: "{{ ipv6 }}"
value: "{{ ipv6 }}"
record: "{{ friends_zone }}"
type: AAAA
state: present
......@@ -182,28 +182,28 @@
- name: Add A record for kncwb.org
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ kncwb_zone }}"
solo: true
zone: "{{ kncwb_zone }}"
solo: true
proxied: true
ttl: 1
value: "{{ ipv4 }}"
value: "{{ ipv4 }}"
record: "{{ kncwb_zone }}"
type: A
state: present
- name: Add AAAA dns for kncwb.org
cloudflare_dns:
account_email: "{{ email }}"
account_api_token: "{{ token }}"
account_email: "{{ email }}"
account_api_token: "{{ token }}"
zone: "{{ kncwb_zone }}"
solo: true
proxied: true
ttl: 1
value: "{{ ipv6 }}"
value: "{{ ipv6 }}"
record: "{{ kncwb_zone }}"
type: AAAA
state: present
......@@ -220,4 +220,4 @@
value: "{{ kncwb_zone }}"
record: www
type: CNAME
state: present
\ No newline at end of file
state: present
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment