Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@kolla-operator:~/kolla_dir/ansible/roles/ormuco# tree
- .
- ├── defaults
- │ └── main.yml
- ├── meta
- │ └── main.yml
- ├── tasks
- │ ├── config.yml
- │ ├── deploy.yml
- │ ├── main.yml
- │ ├── pull.yml
- │ ├── reconfigure.yml
- │ ├── start.yml
- │ └── upgrade.yml
- └── templates
- ├── haproxy.j2
- ├── haproxy.json.j2
- ├── keepalived.j2
- ├── keepalived.json.j2
- ├── portal-conf.j2
- ├── portal.j2
- └── portal.json.j2
- 4 directories, 16 files
- root@kolla-operator:~/kolla_dir/ansible/roles/ormuco# cat templates/portal.json.j2
- {
- "command": "/usr/sbin/service nginx restart && /etc/init.d/ormuco-portal restart",
- "config_files": [
- {
- "source": "{{ container_config_directory }}/portal",
- "dest": "/etc/nginx/sites-enabled/portal",
- "owner": "root",
- "perm": "0644"
- },
- {
- "source": "{{ container_config_directory }}/portal-conf",
- "dest": "/etc/portal.conf",
- "owner": "root",
- "perm": "0644"
- }
Advertisement
Add Comment
Please, Sign In to add comment