Andreas Jaeger e6f49256f5 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine

Change-Id: I7c218a48cb8c799f8b745c9a9cc7c5302e83e49b
2020-04-25 15:47:33 +02:00
2018-03-23 18:12:18 -05:00
2020-04-25 15:47:33 +02:00
2018-03-13 02:06:48 -05:00
2018-03-13 02:06:48 -05:00
2018-03-13 02:06:48 -05:00
2019-05-21 16:44:40 +02:00
2020-04-25 15:47:33 +02:00
2018-10-22 19:43:39 +00:00
2019-04-23 08:58:33 +01:00
2018-03-30 14:47:13 -05:00
2020-03-26 09:31:11 +08:00
2019-04-19 19:34:04 +00:00
2018-03-13 02:06:48 -05:00
2018-03-13 02:06:48 -05:00
2018-06-29 14:47:06 +08:00
2020-04-25 15:47:33 +02:00
2020-04-25 15:47:33 +02:00
2020-04-25 15:47:33 +02:00

Ansible systemd_mount

This Ansible role configures systemd mount files.

This role requires the openstack-ansible-plugins repository to be available on your local system. The Ansible galaxy resolver will not retrieve this role for you. To get the plugins role in place clone the plugins repository before running this role.

# git clone https://github.com/openstack/openstack-ansible-plugins /etc/ansible/roles/plugins

You can also use the ansible-galaxy command on the ansible-role-requirements.yml file.

# ansible-galaxy install -r ansible-role-requirements.yml

Release notes for the project can be found at: https://docs.openstack.org/releasenotes/ansible-role-systemd_mount


Example playbook

See the "defaults.yml" file for a full list of all available options.

- name: Create a systemd mount file for Mount1 and 2
  hosts: localhost
  become: true
  roles:
    - role: "systemd_mount"
      systemd_mounts:
        - what: '/var/lib/machines.raw'
          where: '/var/lib/machines'
          type: 'btrfs'
          options: 'loop'
          unit:
            ConditionPathExists:
              - '/var/lib/machines.raw'
          state: 'started'
          enabled: true
        - config_overrides: {}
          what: "10.1.10.1:/srv/nfs"
          where: "/var/lib/glance/images"
          type: "nfs"
          options: "_netdev,auto"
          unit:
            After:
              - network.target
Description
Ansible role to manage systemd mount points
Readme 1.1 MiB
Languages
Python 91.2%
Jinja 8.8%