summaryrefslogtreecommitdiffstats
path: root/roles/wiki
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-16 18:30:31 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-16 18:30:58 -0400
commit656e440054f43fc09050ba13e29d4eaaf355fcf5 (patch)
treee88274f567b89c0f1438521063c0f5550a67ac79 /roles/wiki
parent12c465a8f6e127a599b0477094552fc90c7e2ce0 (diff)
downloademacsconf-ansible-656e440054f43fc09050ba13e29d4eaaf355fcf5.tar.xz
emacsconf-ansible-656e440054f43fc09050ba13e29d4eaaf355fcf5.zip
Add ansible_managed token to templates
Diffstat (limited to '')
-rw-r--r--roles/wiki-edit/templates/emacsconf-edit.el2
-rw-r--r--roles/wiki-publish/templates/emacsconf-config.el2
-rw-r--r--roles/wiki/templates/Scrubber.pm1
-rw-r--r--roles/wiki/templates/copyright.pm1
-rw-r--r--roles/wiki/templates/emacsconf.setup3
-rwxr-xr-xroles/wiki/templates/htmlscrubber.pm2
-rw-r--r--roles/wiki/templates/license.pm1
7 files changed, 10 insertions, 2 deletions
diff --git a/roles/wiki-edit/templates/emacsconf-edit.el b/roles/wiki-edit/templates/emacsconf-edit.el
index 78e11a8..2e360c7 100644
--- a/roles/wiki-edit/templates/emacsconf-edit.el
+++ b/roles/wiki-edit/templates/emacsconf-edit.el
@@ -1,3 +1,5 @@
+;; {{ ansible_managed }}
+
(let ((packages '({% for package in emacsconf_edit_packages %}{{ package }}{% endfor %})))
(mapc (lambda (package) (unless (package-installed-p package) (package-install package))) packages))
;; Configuration
diff --git a/roles/wiki-publish/templates/emacsconf-config.el b/roles/wiki-publish/templates/emacsconf-config.el
index 53ffe64..cfb554e 100644
--- a/roles/wiki-publish/templates/emacsconf-config.el
+++ b/roles/wiki-publish/templates/emacsconf-config.el
@@ -1,3 +1,5 @@
+;; {{ ansible_managed }}
+
(add-to-list 'load-path "{{ emacsconf_el_dir }}")
(require 'emacsconf)
(require 'emacsconf-publish)
diff --git a/roles/wiki/templates/Scrubber.pm b/roles/wiki/templates/Scrubber.pm
index 2efaa10..a06a209 100644
--- a/roles/wiki/templates/Scrubber.pm
+++ b/roles/wiki/templates/Scrubber.pm
@@ -1,3 +1,4 @@
+# {{ ansible_managed }}
package HTML::Scrubber;
# ABSTRACT: Perl extension for scrubbing/sanitizing html
diff --git a/roles/wiki/templates/copyright.pm b/roles/wiki/templates/copyright.pm
index 16acacc..e496aad 100644
--- a/roles/wiki/templates/copyright.pm
+++ b/roles/wiki/templates/copyright.pm
@@ -1,3 +1,4 @@
+# {{ ansible_managed }}
# A plugin for ikiwiki to implement adding a footer with copyright information
# based on a default value taken out of a file.
diff --git a/roles/wiki/templates/emacsconf.setup b/roles/wiki/templates/emacsconf.setup
index 7ab3916..ea9c4c8 100644
--- a/roles/wiki/templates/emacsconf.setup
+++ b/roles/wiki/templates/emacsconf.setup
@@ -1,5 +1,4 @@
-# This file is managed by the wiki role in git@git.emacsconf.org:pub/emacsconf-ansible
-# Please make sure your changes are also reflected there.
+# {{ ansible_managed }}
#
# IkiWiki::Setup::Yaml - YAML formatted setup file
#
diff --git a/roles/wiki/templates/htmlscrubber.pm b/roles/wiki/templates/htmlscrubber.pm
index 4cbf300..1ce95b2 100755
--- a/roles/wiki/templates/htmlscrubber.pm
+++ b/roles/wiki/templates/htmlscrubber.pm
@@ -1,4 +1,6 @@
#!/usr/bin/perl
+# {{ ansible_managed }}
+
package IkiWiki::Plugin::htmlscrubber;
use warnings;
diff --git a/roles/wiki/templates/license.pm b/roles/wiki/templates/license.pm
index 651c039..eebab77 100644
--- a/roles/wiki/templates/license.pm
+++ b/roles/wiki/templates/license.pm
@@ -1,3 +1,4 @@
+# {{ ansible_managed }}
# A plugin for ikiwiki to implement adding a footer with licensing information
# based on a default value taken out of a file.