rename avoid_autocommits to etckeeper_avoid_autocommits
This commit is contained in:
		
							parent
							
								
									e642e54912
								
							
						
					
					
						commit
						c505d66f60
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -12,7 +12,7 @@ To avoid `etckeeper` autocommits (daily or before package manager runs) set
 | 
				
			||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
					~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
				
			||||||
roles:
 | 
					roles:
 | 
				
			||||||
    - { role: etckeeper,                    tags: ['system', 'etckeeper'],
 | 
					    - { role: etckeeper,                    tags: ['system', 'etckeeper'],
 | 
				
			||||||
        avoid_autocommits: true }
 | 
					        etckeeper_avoid_autocommits: true }
 | 
				
			||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
					~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To send commit emails to root:
 | 
					To send commit emails to root:
 | 
				
			||||||
| 
						 | 
					@ -20,6 +20,6 @@ To send commit emails to root:
 | 
				
			||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
					~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
				
			||||||
roles:
 | 
					roles:
 | 
				
			||||||
    - { role: etckeeper,                    tags: ['system', 'etckeeper'],
 | 
					    - { role: etckeeper,                    tags: ['system', 'etckeeper'],
 | 
				
			||||||
        avoid_autocommits: true,
 | 
					        etckeeper_avoid_autocommits: true,
 | 
				
			||||||
        etckeeper_mailto: root }
 | 
					        etckeeper_mailto: root }
 | 
				
			||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
					~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,2 +1,2 @@
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
avoid_autocommits: false
 | 
					etckeeper_avoid_autocommits: false
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,7 @@ DARCS_COMMIT_OPTIONS="-a"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Uncomment to avoid etckeeper committing existing changes
 | 
					# Uncomment to avoid etckeeper committing existing changes
 | 
				
			||||||
# to /etc automatically once per day.
 | 
					# to /etc automatically once per day.
 | 
				
			||||||
AVOID_DAILY_AUTOCOMMITS={{ '1' if avoid_autocommits else '0' }}
 | 
					AVOID_DAILY_AUTOCOMMITS={{ '1' if etckeeper_avoid_autocommits else '0' }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Uncomment the following to avoid special file warning
 | 
					# Uncomment the following to avoid special file warning
 | 
				
			||||||
# (the option is enabled automatically by cronjob regardless).
 | 
					# (the option is enabled automatically by cronjob regardless).
 | 
				
			||||||
| 
						 | 
					@ -27,7 +27,7 @@ AVOID_DAILY_AUTOCOMMITS={{ '1' if avoid_autocommits else '0' }}
 | 
				
			||||||
# Uncomment to avoid etckeeper committing existing changes to
 | 
					# Uncomment to avoid etckeeper committing existing changes to
 | 
				
			||||||
# /etc before installation. It will cancel the installation,
 | 
					# /etc before installation. It will cancel the installation,
 | 
				
			||||||
# so you can commit the changes by hand.
 | 
					# so you can commit the changes by hand.
 | 
				
			||||||
AVOID_COMMIT_BEFORE_INSTALL={{ '1' if avoid_autocommits else '0' }}
 | 
					AVOID_COMMIT_BEFORE_INSTALL={{ '1' if etckeeper_avoid_autocommits else '0' }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# The high-level package manager that's being used.
 | 
					# The high-level package manager that's being used.
 | 
				
			||||||
# (apt, pacman-g2, yum, dnf, zypper etc)
 | 
					# (apt, pacman-g2, yum, dnf, zypper etc)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue