Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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 ansible-role-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
scm: git
src: https://github.com/ceph/ceph-ansible
version: v3.0.34
- name: ../ceph_plugins
- name: plugins
scm: git
src: https://git.openstack.org/openstack/openstack-ansible-plugins
version: 17.0.0.0b3
Expand Down
24 changes: 12 additions & 12 deletions ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[defaults]

library = /etc/ansible/ceph_plugins/library:/etc/ansible/ceph_roles/ceph-ansible/library
library = /etc/ansible/ceph_roles/plugins/library:/etc/ansible/ceph_roles/ceph-ansible/library
# set plugin path directories here, separate with colons
action_plugins = /etc/ansible/ceph_plugins/action:/etc/ansible/ceph_roles/ceph-ansible/plugins/actions
cache_plugins = /etc/ansible/ceph_plugins/cache
callback_plugins = /etc/ansible/ceph_plugins/callback:/etc/ansible/ceph_roles/ceph-ansible/plugins/callback
connection_plugins = /etc/ansible/ceph_plugins/connection
lookup_plugins = /etc/ansible/ceph_plugins/lookup
inventory_plugins = /etc/ansible/ceph_plugins/inventory
vars_plugins = /etc/ansible/ceph_plguins/vars_plugins
filter_plugins = /etc/ansible/ceph_plugins/filter
test_plugins = /etc/ansible/ceph_plugins/test
terminal_plugins = /etc/ansible/ceph_plugins/terminal
strategy_plugins = /etc/ansible/ceph_plugins/strategy
action_plugins = /etc/ansible/ceph_roles/plugins/action:/etc/ansible/ceph_roles/ceph-ansible/plugins/actions
cache_plugins = /etc/ansible/ceph_roles/plugins/cache
callback_plugins = /etc/ansible/ceph_roles/plugins/callback:/etc/ansible/ceph_roles/ceph-ansible/plugins/callback
connection_plugins = /etc/ansible/ceph_roles/plugins/connection
lookup_plugins = /etc/ansible/ceph_roles/plugins/lookup
inventory_plugins = /etc/ansible/ceph_roles/plugins/inventory
vars_plugins = /etc/ansible/ceph_roles/plguins/vars_plugins
filter_plugins = /etc/ansible/ceph_roles/plugins/filter
test_plugins = /etc/ansible/ceph_roles/plugins/test
terminal_plugins = /etc/ansible/ceph_roles/plugins/terminal
strategy_plugins = /etc/ansible/ceph_roles/plugins/strategy
roles_path = /etc/ansible/ceph_roles/ceph-ansible/roles:/etc/ansible/ceph_roles:/etc/ansible/roles
2 changes: 1 addition & 1 deletion tests/setup-ceph-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
lxc_container:
name: "{{ container_name }}"
container_config:
- "lxc.aa_profile = unconfined"
- "{{ (hostvars[physical_host | default('localhost')]['ansible_distribution_version'] == '18.04') | ternary('lxc.apparmor.profile', 'lxc.aa_profile') }} = unconfined"
- "lxc.cgroup.devices.allow = b *:* rwm"
delegate_to: "{{ physical_host }}"
- name: Wait for container connectivity
Expand Down
2 changes: 2 additions & 0 deletions tests/test-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,5 @@ maas_notification_plan: npTechnicalContactsEmail
maas_entity_name: "{{ ansible_hostname }}{{ maas_fqdn_extension }}"
# Allow ceph services to be inside containers.
maas_rpc_legacy_ceph: True

ceph_origin: "{{ (hostvars['localhost']['ansible_distribution_version'] == '18.04') | ternary('distro', 'repository') }}"