Skip to content

Ansible: Use systematically the systemd module#67

Merged
RyanSquared merged 4 commits into
masterfrom
ansible/services
Oct 1, 2018
Merged

Ansible: Use systematically the systemd module#67
RyanSquared merged 4 commits into
masterfrom
ansible/services

Conversation

@KellerFuchs

Copy link
Copy Markdown
Member

Just skip the task when running in Docker (since it's pointless to try and enable services there, as systemd won't run)

@RyanSquared

Copy link
Copy Markdown
Member

See #73. This works for Docker but not for things like lxc, which we should also support.

cc @benharri as I believe they have experience working shell-server with lxc

@benharri

Copy link
Copy Markdown
Member

I've tried taking a stab at creating and lxd image. neither lxd nor lxc have been working. for lxd auditd fails to install and kills the playbook.

@KellerFuchs

Copy link
Copy Markdown
Member Author

@benharri Is there a reasonablish way to make the shell-server image have a woking systemd under lxc/lxd?

@RyanSquared If shell-server already doesn't work under lxc/lxd, I don't think we should make that a blocker.

@benharri

Copy link
Copy Markdown
Member

as far as I can tell systemd was working fine under lxd. I still wasn't sure why the auditd install failed.

@KellerFuchs

Copy link
Copy Markdown
Member Author

@benharri OK, then let's get this reviewed/merged, and I can look at fixing the auditd stuff in #74.

@benharri benharri left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RyanSquared RyanSquared merged commit 24eacfd into master Oct 1, 2018
@RyanSquared RyanSquared deleted the ansible/services branch October 1, 2018 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants