List of files managed by ansible

21 views
Skip to first unread message

Claudius Heine

unread,
Jun 26, 2019, 5:37:39 AM6/26/19
to ansible...@googlegroups.com, Wolfgang Denk
Hi,

I am quite new to Ansible and look forward to use it to manage some of
our servers. We are a small company with only ~10 virtual servers
hosting each a different service and have multiple admins for those.

For us it does not make sense to port the configuration for every
service to Ansible, just for the common ones (OpenSSH, Userconfig, etc.).

Since we have multiple admins, some of which don't need to use Ansible,
because they manage those services directly on the server, it would be
good to have some way to communicate what files (or even lines) on the
server are managed by Ansible and which they are free to edit.

Writing headers like "This file is managed by Ansible" is only possible
for text files, so instead it would be an idea to create a managed file
path listing on the server.

Is there a way to do this or solve this in a different way?

kind regards,
Claudius

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: c...@denx.de

PGP key: 6FF2 E59F 00C6 BC28 31D8 64C1 1173 CB19 9808 B153
Keyserver: hkp://pool.sks-keyservers.net

signature.asc

Brian Coca

unread,
Jul 5, 2019, 9:51:20 AM7/5/19
to Ansible Project, Wolfgang Denk
I used to use xattr to tag files with this kind of information, but
that also requires user discipline to check each file.

--
----------
Brian Coca
Reply all
Reply to author
Forward
0 new messages