summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/memcached/tasks/main.yml
blob: 58a7ae3e924fdfe8c3e0fa76ac96413bd75b52d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- include_vars: "{{ ansible_os_family }}.yml"

- name: install packages
  action: "{{ ansible_pkg_mgr }} name={{ item }} state=latest update_cache=yes"
  with_items: packages | union(packages_noarch)

- name: change memcache listen ip
  lineinfile: dest=/etc/memcached.conf regexp="^-l " line="-l 0.0.0.0"

- name: restart services
  service: name={{ item }} state=restarted enabled=yes
  with_items: services| union(services_noarch)

- meta: flush_handlers
scription: Port of the OVN Northbound DB server type: number default: 6641 OVNSouthboundServerPort: description: Port of the OVN Southbound DB server type: number default: 6642 outputs: role_data: description: Role data for the OVN northd service value: service_name: ovn_dbs config_settings: ovn::northbound::port: {get_param: OVNNorthboundServerPort} ovn::southbound::port: {get_param: OVNSouthboundServerPort} ovn::northd::dbs_listen_ip: {get_param: [ServiceNetMap, OvnDbsNetwork]} tripleo.ovn_dbs.firewall_rules: '121 OVN DB server ports': proto: 'tcp' dport: - {get_param: OVNNorthboundServerPort} - {get_param: OVNSouthboundServerPort} step_config: | include ::tripleo::profile::base::neutron::ovn_northd