Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5097dc1
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Feb 12, 2025
aa5176f
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Feb 12, 2025
e5a93ad
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Feb 13, 2025
ec641b8
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Feb 13, 2025
ef87b63
Fixing local linting.
gregharvey Feb 13, 2025
f9fdb4a
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Feb 13, 2025
f224ebd
Ignoring jinja spacing issues.
gregharvey Feb 13, 2025
5365485
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Feb 18, 2025
9ee81b2
Merging devel
gregharvey Feb 18, 2025
3313bf2
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Feb 18, 2025
7f9649e
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Feb 19, 2025
c3075e4
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Feb 19, 2025
94860bf
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Mar 5, 2025
688fcfd
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Mar 5, 2025
ca26e6d
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Mar 11, 2025
1beaa71
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Mar 11, 2025
a275060
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Mar 13, 2025
a77a8c7
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Mar 13, 2025
18edc15
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Mar 13, 2025
26ea571
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Apr 14, 2025
67f27ab
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Apr 14, 2025
bb29496
Merge branch '2.x' into bug_fixes
gregharvey Apr 15, 2025
54dd96f
Merge branch '2.x' into bug_fixes
gregharvey Apr 15, 2025
2c07aa0
Merge branch '2.x' into bug_fixes
gregharvey Apr 15, 2025
affd4dc
Merge branch '2.x' into bug_fixes
gregharvey Apr 15, 2025
d44ea90
Merge branch '2.x' into bug_fixes
gregharvey May 28, 2025
bcc140e
Merge pull request #2578 from codeenigma/set_default_in_template_as_i…
tymofiisobchenko Jun 18, 2025
39251b6
Merge branch '2.x' into bug_fixes
gregharvey Jun 19, 2025
43ebf18
Upgrading to ce-dev 2.x.
gregharvey Jun 19, 2025
2e5c237
Allowing Ansible to create non-system users.
gregharvey Jun 19, 2025
753711a
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into b…
gregharvey Jun 19, 2025
16a6de2
Merge branch 'bug_fixes' into bug_fixes-PR-devel-2.x
gregharvey Jun 19, 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
8 changes: 4 additions & 4 deletions ce-dev/ce-dev.compose.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
x-ce_dev:
version: 1.x
version: 2.x
registry: localhost:5000
project_name: provision
provision:
- ce-dev/ansible/setup.yml
services:
controller:
image: codeenigma/ce-dev-1.x:devel
image: codeenigma/ce-dev:2.x
x-ce_dev: {}
volumes:
- ../:/home/ce-dev/ce-provision
platform: linux/amd64
cgroup: host
target:
image: codeenigma/ce-dev-1.x:devel
image: codeenigma/ce-dev:2.x
x-ce_dev:
host_aliases:
- provision-target.local
Expand All @@ -25,7 +25,7 @@ services:
platform: linux/amd64
cgroup: host
privileged:
image: codeenigma/ce-dev-1.x:devel
image: codeenigma/ce-dev:2.x
x-ce_dev:
host_aliases:
- provision-privileged.local
Expand Down
5 changes: 3 additions & 2 deletions roles/debian/user_ansible/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ user_ansible:
# This sets both username and main group.
username: "{{ _user_ansible_username }}"
home: "/home/{{ _user_ansible_username }}"
create: true # if you know the user already exists, set this to false to not create the user.
create: true # if you know the user already exists, set this to false to not create the user.
create_home: true
update_password: "always"
system_user: true # creates a system user - see useradd --system docs
# It is often desirable to fix POSIX IDs for system users so they are consistent across your fleet
# This is shown for documentation, you should do this in your config repo
# uid: 999
# gid: 999
sudo_config: {} # an empty dictionary will skip creating a sudo config
sudo_config: {} # an empty dictionary will skip creating a sudo config
# Example sudo config allowing full sudo permissions - see the debian/sudo_config role for more details.
# entity_name: "{{ _user_ansible_username }}"
# hosts: "ALL"
Expand Down
6 changes: 3 additions & 3 deletions roles/debian/user_ansible/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
ansible.builtin.group:
name: "{{ user_ansible.username }}"
gid: "{{ user_ansible.gid | default(omit) }}"
system: true
system: "{{ user_ansible.system_user }}"

- name: Create additional groups.
ansible.builtin.group:
name: "{{ group }}"
state: present
system: true
system: "{{ user_ansible.system_user }}"
with_items: "{{ user_ansible.groups }}"
loop_control:
loop_var: group
Expand All @@ -21,7 +21,7 @@
shell: /bin/bash
group: "{{ user_ansible.username }}"
uid: "{{ user_ansible.uid | default(omit) }}"
system: true
system: "{{ user_ansible.system_user }}"
create_home: "{{ user_ansible.create_home }}"
home: "{{ user_ansible.home }}"
password: "*"
Expand Down
3 changes: 2 additions & 1 deletion roles/debian/user_deploy/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ user_deploy:
# If you are using ce-deploy to deploy code this must match the `deploy_user` variable
username: "{{ _user_deploy_username }}"
home: "/home/{{ _user_deploy_username }}"
create: true # if you know the user already exists, set this to false to not create the user.
create: true # if you know the user already exists, set this to false to not create the user.
create_home: true
update_password: "always"
system_user: true # creates a system user - see useradd --system docs
# It is often desirable to fix POSIX IDs for system users so they are consistent across your fleet
# This is shown for documentation, you should do this in your config repo
# uid: 989
Expand Down
3 changes: 2 additions & 1 deletion roles/debian/user_provision/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ user_provision:
# This sets both username and main group.
username: "{{ _user_provision_username }}"
home: "/home/{{ _user_provision_username }}"
create: true # if you know the user already exists, set this to false to not create the user.
create: true # if you know the user already exists, set this to false to not create the user.
create_home: true
update_password: "always"
system_user: true # creates a system user - see useradd --system docs
# It is often desirable to fix POSIX IDs for system users so they are consistent across your fleet
# This is shown for documentation, you should do this in your config repo
# uid: 988
Expand Down