Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
17115af
Fixing installer variable bug.
gregharvey Sep 10, 2025
176df44
Fixing tests for external PRs.
gregharvey Sep 10, 2025
2484532
Testing with a fork.
gregharvey Sep 10, 2025
cde9a60
Adding repo owner's username into installer string.
gregharvey Sep 10, 2025
a2c4bac
Refactoring config repo detection to simplify.
gregharvey Sep 10, 2025
7ce204b
No longer permitted to use an integer as a truthy value.
gregharvey Sep 10, 2025
c7ae003
No longer permitted to use existence check as a truthy value.
gregharvey Sep 10, 2025
6379b2e
Can't see a reason why linotp var shouldn't be a boolean.
gregharvey Sep 10, 2025
318f532
No longer permitted to use existence check as a truthy value.
gregharvey Sep 10, 2025
1466d24
Fixing truthy errors in ce_deploy role.
gregharvey Sep 10, 2025
3c14dfa
No longer permitted to use an integer as a truthy value.
gregharvey Sep 10, 2025
132c5fd
Merge branch '2.x' into bug_fixes
gregharvey Sep 16, 2025
a74b945
Merge branch '2.x' into bug_fixes
gregharvey Sep 22, 2025
9472416
Updating clamav command to use flock avoiding duplicate processes run…
gregharvey Sep 22, 2025
b665759
Merge branch '2.x' of github.com:codeenigma/ce-provision into bug_fix…
gregharvey Sep 22, 2025
53ce70b
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 22, 2025
a5dc134
Merge branch '2.x' into bug_fixes
gregharvey Sep 24, 2025
c75b16a
More truthy length fixes.
gregharvey Sep 24, 2025
f16c8a6
Merge branch '2.x' of github.com:codeenigma/ce-provision into bug_fix…
gregharvey Sep 24, 2025
f8b6074
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 24, 2025
8d45293
Merge branch '2.x' into bug_fixes
gregharvey Sep 25, 2025
725fcf7
Fixing more LDAP role truthy issues.
gregharvey Sep 25, 2025
d9c7915
Merge branch '2.x' of github.com:codeenigma/ce-provision into bug_fix…
gregharvey Sep 25, 2025
450be08
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 25, 2025
612c3c5
Slight block refactor for LDAP.
gregharvey Sep 25, 2025
19efd7b
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 25, 2025
91ad6ca
DN length check should not be negated.
gregharvey Sep 25, 2025
af19175
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 25, 2025
a60f424
Forgot to add the length filter.
gregharvey Sep 25, 2025
a1ba176
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 25, 2025
2b98f9f
Another boolean Ansible 12 error in AMI role.
gregharvey Sep 30, 2025
c655fec
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
52b3ce1
ALB port must be cast as a string for RedirectAction.
gregharvey Sep 30, 2025
fba946b
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
318dd42
Setting the correct Jinja filter, it's string, not str.
gregharvey Sep 30, 2025
26f9de3
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
f0026b7
Fixing more Ansible 12 length issues in autoscale role.
gregharvey Sep 30, 2025
2a75703
Merge branch '2.x' of github.com:codeenigma/ce-provision into bug_fix…
gregharvey Sep 30, 2025
381fd9b
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
1630157
Merge branch '2.x' into bug_fixes
gregharvey Sep 30, 2025
26f1e24
Simplifying ASG role by refactoring into blocks.
gregharvey Sep 30, 2025
2e4278b
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
05f2600
Further simplifying ASG CloudFront block.
gregharvey Sep 30, 2025
543c564
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
32cfd67
Scaling rules refactor needs work.
gregharvey Sep 30, 2025
1dd82c5
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
1d1f820
Scaling policies list needs to be defined in case it is empty and we …
gregharvey Sep 30, 2025
b9f2407
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
540f6d1
Enhancing installer to accept an Ansible version and putting Ansible …
gregharvey Sep 30, 2025
dd40ab9
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
8593d75
Trying a different approach to defaulting the venv username.
gregharvey Sep 30, 2025
799c3cd
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
4448fa6
Removing default() filter from python_pip_packages role.
gregharvey Sep 30, 2025
80fb11a
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
08ea87e
Fixing up the ce_ansible role for Ansible 12.
gregharvey Sep 30, 2025
56623af
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Sep 30, 2025
01623eb
Removing unnecessary from_json filter from CloudFront acc ID lookup.
gregharvey Oct 1, 2025
b61ec25
Merge branch '2.x' of github.com:codeenigma/ce-provision into bug_fix…
gregharvey Oct 1, 2025
d9139ad
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
b595eee
Merge branch '2.x' into bug_fixes
gregharvey Oct 1, 2025
6b6d84b
Merge branch '2.x' into bug_fixes
gregharvey Oct 1, 2025
c5446f9
Trying to fix AWS standalone builds.
gregharvey Oct 1, 2025
01c508b
Merge branch '2.x' of github.com:codeenigma/ce-provision into bug_fix…
gregharvey Oct 1, 2025
be428e9
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
f62404c
Fixing standalone EC2 playbooks.
gregharvey Oct 1, 2025
1f4d3bf
Merge branch '2.x' of github.com:codeenigma/ce-provision into bug_fix…
gregharvey Oct 1, 2025
44db822
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
774901c
Merge branch '2.x' into bug_fixes
gregharvey Oct 1, 2025
2d885f0
Adding hostname print out for debug.
gregharvey Oct 1, 2025
1f828f6
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
fecad19
Adding back in the hostname check.
gregharvey Oct 1, 2025
0662ce7
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
7f7afda
Fixing AWS hostname variable in comparisons.
gregharvey Oct 1, 2025
c0150d9
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
7cb856c
Trying to find a hostname variation that meets all requirements.
gregharvey Oct 1, 2025
3020892
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
3de1120
Adding both hostnames to ec2.yml.
gregharvey Oct 1, 2025
cf8eea9
Merge branch 'bug_fixes' into bug_fixes-PR-2.x
gregharvey Oct 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plays/aws_ec2_standalone/ec2.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# First step. Spin up a "blank" instance and add the controller user and Ansible via user-data.
- hosts: "{{ _aws_resource_name }}"
- hosts: "{{ _aws_resource_name }}, _{{ _aws_resource_name | regex_replace('-', '_') }}"
connection: local
become: false

Expand Down
2 changes: 1 addition & 1 deletion plays/aws_ec2_standalone/launch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
ansible.builtin.add_host:
name: "{{ _aws_resource_name }}"
groups: "_new_servers"
when: _aws_hostname | length == 0
when: _aws_hostname|length == 0
- ansible.builtin.import_role:
name: _exit
6 changes: 5 additions & 1 deletion roles/aws/aws_ec2_with_eip/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
with_inventory_hostnames:
- "_{{ aws_ec2_with_eip.hostname|regex_replace('-', '_') }}"

- name: Check the hostname.
ansible.builtin.debug:
msg: "Ansible hostname set to: {{ _aws_hostname }}"

# Subnet ID is stored in ce-provision's data directory
- name: Ensure server data directory exists.
ansible.builtin.file:
Expand Down Expand Up @@ -105,7 +109,7 @@
msg: "No AMI found using the provided filters, exiting!"
when: _aws_ec2_with_eip_ami_images.images | length == 0

# Do not create an instance if _aws_hostname is not an EC2 generated address unless `force: true`
# Create an instance if _aws_hostname is set (it cannot be unless there is an EC2 generated address in a tagged hostgroup) unless `force: true`
- name: Create new EC2 instance.
amazon.aws.ec2_instance:
profile: "{{ aws_ec2_with_eip.aws_profile }}"
Expand Down
Loading