Commit Graph

7 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 3448df38f5 Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Change-Id: I8bd832c172ef87acca27f053c5223941d80f9ce1
2023-07-12 12:29:45 +02:00
Dmitriy Rabotyagov f40c418af2 Change default mode of mount files to 644
In case of setting file permissions to 640 systemd will raise an
alert [1]. In order to avoid spamming in logs, we change default mode to
644 as no passwords or credentials are going to be stored in this file.

With that we provide a way to override file mode if needed.

[1] https://paste.openstack.org/show/b83tSrjni8iB2WNsvDfQ/

Change-Id: I73164e9d4b02d7b3fae21b912369afcd1cc64abf
2023-02-09 13:33:07 +01:00
Jonathan Rosser d74c88dcb5 Add support for glusterfs mounts
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/837706
Change-Id: I2631e6f00011942954be7c776e3c99a11bdfb28d
2022-04-20 06:53:34 +00:00
Jonathan Rosser e5cc6f8990 Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I5a83a7f237e4b7d86e8d7ee08b0e8c6b4f8a44f8
2021-02-23 09:25:49 +00:00
Dmitriy Rabotyagov 483b10e5e9 Add option to use s3fs with role
Change-Id: I5cf6353a30190aa0a2f0856530a65c48437ed5ea
2021-01-05 13:52:45 +02:00
Kevin Carter 031ba51726
Add basic tests
This change adds basic tests when creating a mount unit file.
This test will ensure system-mount is functional with a local mounts,
NFS mounts, and swap mounts.

Change-Id: I00dbf7f6ff3b687e622b29808197dbd7427d24fe
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-23 18:12:18 -05:00
Kevin Carter 4f37977e7b
Initial Commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-03-13 02:06:48 -05:00