Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Favor docker compose v2 in ansible tasks #1835

Merged
merged 4 commits into from
May 28, 2024

Conversation

mattwr18
Copy link
Contributor

Fixes #1834

I've tested running the ansible/restore_locally and ansible/site playbooks and nothing appears to be broken.

@roschaefer roschaefer force-pushed the 1834_favor_community.docker.docker_compose_v2 branch 3 times, most recently from 20c8409 to 23a9ef7 Compare May 26, 2024 12:38
build: never
pull: always
state: present
wait: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

@mattwr18 this is a nice new feature that will ensure that all containers are healthy before proceeding. In our pair-programming today we were facing the issue of silent failures.

- name: docker-compose
- name: passlib
pip_install_packages:
- name: passlib
Copy link
Collaborator

Choose a reason for hiding this comment

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

passlib is required for htpasswd role. The other two seem not required.

- role: geerlingguy.docker
docker_packages_state: latest
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm willing to keep this variable. Opinions/thoughts?

@roschaefer roschaefer force-pushed the 1834_favor_community.docker.docker_compose_v2 branch from 23a9ef7 to fb0cdd1 Compare May 27, 2024 07:54
@roschaefer roschaefer force-pushed the 1834_favor_community.docker.docker_compose_v2 branch from 3324708 to 5802351 Compare May 27, 2024 08:25
Copy link
Collaborator

@roschaefer roschaefer left a comment

Choose a reason for hiding this comment

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

docker

@mattwr18
Copy link
Contributor Author

Also checked your changes @roschaefer and they look good...

@mattwr18 mattwr18 merged commit bd1fffb into main May 28, 2024
1 check passed
@mattwr18 mattwr18 deleted the 1834_favor_community.docker.docker_compose_v2 branch May 28, 2024 07:23
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.

[BUG]: Ansible playbook restore_locally.yml errors out
2 participants