Skip to content

Commit a3cc1f5

Browse files
committed
Use True/False instead of yes/no string
1 parent 2d9364c commit a3cc1f5

File tree

21 files changed

+54
-54
lines changed

21 files changed

+54
-54
lines changed

deploy/ansible/ansible.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
# the remote system.
3232
#
3333
# smart - gather by default, but don't regather if already gathered
34-
# implicit - gather by default, turn off with gather_facts: no
35-
# explicit - do not gather by default, must say gather_facts: yes
34+
# implicit - gather by default, turn off with gather_facts: False
35+
# explicit - do not gather by default, must say gather_facts: True
3636
#gathering = implicit
3737

3838
# This only affects the gathering done by a play's gather_facts directive,

deploy/ansible/group_vars/nuc/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
k8s_engine: k3s
1515

1616
image_pull_secret: aws-login-credentials
17-
use_airgap_images: no
17+
use_airgap_images: False
1818

1919
# k8s namespaces
2020
app_namespace: thecombine
@@ -24,8 +24,8 @@ k8s_user: sillsdev
2424
################################################
2525
# Support Tool Settings
2626
################################################
27-
install_ip_viewer: yes
28-
install_combinectl: yes
27+
install_ip_viewer: True
28+
install_combinectl: True
2929

3030
################################################
3131
# Ingress configuration
@@ -41,12 +41,12 @@ k8s_dns_name: "{{ ansible_hostname }}"
4141
################################################
4242
# Ethernet settings
4343
################################################
44-
eth_optional: yes
44+
eth_optional: True
4545

4646
################################################
4747
# WiFi access point settings
4848
################################################
49-
has_wifi: yes
49+
has_wifi: True
5050
ap_domain: thecombine.app
5151
ap_ssid: "{{ ansible_hostname }}_ap"
5252
ap_passphrase: "thecombine_pw"
@@ -56,5 +56,5 @@ ap_hostname: "{{ ansible_hostname }}"
5656
################################################
5757
# hardware monitoring settings
5858
################################################
59-
include_hw_monitoring: yes
59+
include_hw_monitoring: True
6060
history_days: 60

deploy/ansible/group_vars/server/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
################################################
1111

1212
image_pull_secret: aws-login-credentials
13-
use_airgap_images: no
13+
use_airgap_images: False
1414

1515
create_namespaces: []
1616
# k8s namespaces
@@ -19,8 +19,8 @@ app_namespace: thecombine
1919
################################################
2020
# Support Tool Settings
2121
################################################
22-
install_ip_viewer: no
23-
install_combinectl: no
22+
install_ip_viewer: False
23+
install_combinectl: False
2424

2525
#######################################
2626
# Ingress configuration
@@ -29,9 +29,9 @@ ingress_namespace: ingress-nginx
2929
################################################
3030
# WiFi access point settings
3131
################################################
32-
has_wifi: no
32+
has_wifi: False
3333

3434
################################################
3535
# hardware monitoring settings
3636
################################################
37-
include_hw_monitoring: no
37+
include_hw_monitoring: False

deploy/ansible/host_vars/localhost/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
################################################
99

1010
image_pull_secret: aws-login-credentials
11-
use_airgap_images: yes
11+
use_airgap_images: True
1212

1313
# k8s namespaces
1414
app_namespace: thecombine
@@ -18,8 +18,8 @@ k8s_user: "{{ ansible_user_id }}"
1818
################################################
1919
# Support Tool Settings
2020
################################################
21-
install_ip_viewer: no
22-
install_combinectl: yes
21+
install_ip_viewer: False
22+
install_combinectl: True
2323

2424
#######################################
2525
# Ingress configuration
@@ -35,20 +35,20 @@ k8s_dns_name: "local"
3535
################################################
3636
# Ethernet settings
3737
################################################
38-
eth_optional: yes
38+
eth_optional: True
3939

4040
################################################
4141
# WiFi access point settings
4242
################################################
43-
has_wifi: yes
43+
has_wifi: True
4444
ap_domain: thecombine.app
4545
ap_ssid: "thecombine_ap"
4646
ap_passphrase: "thecombine_pw"
4747
ap_gateway: "10.10.10.1"
4848
ap_hostname: "local"
49-
test_wifi: no
49+
test_wifi: False
5050
################################################
5151
# hardware monitoring settings
5252
################################################
53-
include_hw_monitoring: no
53+
include_hw_monitoring: False
5454
history_days: 60

deploy/ansible/hosts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ all:
55
ansible_connection: local
66
kubecfgdir: local
77
combine_server_name: local.thecombine.app
8-
link_kubeconfig: yes
8+
link_kubeconfig: True
99
children:
1010
nuc:
1111
hosts:

deploy/ansible/playbook_desktop_setup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
- name: Configure hardware for The Combine
1212
hosts: localhost
13-
gather_facts: yes
14-
become: yes
13+
gather_facts: True
14+
become: True
1515

1616
vars_files:
1717
- "vars/config_common.yml"

deploy/ansible/playbook_k3s_airgapped_files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
- name: Build package for k3s airgap installation
1717
hosts: localhost
18-
gather_facts: yes
19-
become: no
18+
gather_facts: True
19+
become: False
2020

2121
vars_files:
2222
- "vars/k3s_versions.yml"
@@ -40,7 +40,7 @@
4040
shell:
4141
cmd: sha256sum --check --ignore-missing sha256sum-{{ cpu_arch }}.txt
4242
chdir: "{{ package_dir }}"
43-
changed_when: no
43+
changed_when: False
4444

4545
- name: Download k3s install script
4646
get_url:

deploy/ansible/playbook_nuc_setup.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
- name: Configure hardware for The Combine
1313
hosts: nuc
14-
gather_facts: yes
15-
become: yes
14+
gather_facts: True
15+
become: True
1616

1717
vars_files:
1818
- "vars/config_common.yml"
@@ -21,8 +21,8 @@
2121
tasks:
2222
- name: Update packages
2323
apt:
24-
update_cache: yes
25-
upgrade: yes
24+
update_cache: True
25+
upgrade: True
2626

2727
- name: Setup WiFi Access Point
2828
import_role:

deploy/ansible/roles/container_engine/tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
##############################################################
1212
- name: Update apt cache.
1313
apt:
14-
update_cache: yes
14+
update_cache: True
1515
cache_valid_time: 600
16-
changed_when: no
16+
changed_when: False
1717

1818
- name: Install pre-requisite packages
1919
apt:
@@ -47,7 +47,7 @@
4747
- name: Install Docker Packages
4848
apt:
4949
name: "{{ container_packages }}"
50-
update_cache: yes
50+
update_cache: True
5151

5252
- name: Check if reboot is required
5353
stat:

deploy/ansible/roles/k8s_install/handlers/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
- name: Reload k3s
33
systemd:
44
name: k3s
5-
daemon_reload: yes
6-
enabled: yes
5+
daemon_reload: True
6+
enabled: True
77
state: restarted

0 commit comments

Comments
 (0)