mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -60,72 +60,72 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Add a setting to ~/.gitconfig
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: alias.ci
|
||||
scope: global
|
||||
value: commit
|
||||
|
||||
- name: Add a setting to ~/.gitconfig
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: alias.st
|
||||
scope: global
|
||||
value: status
|
||||
|
||||
- name: Remove a setting from ~/.gitconfig
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: alias.ci
|
||||
scope: global
|
||||
state: absent
|
||||
|
||||
- name: Add a setting to ~/.gitconfig
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: core.editor
|
||||
scope: global
|
||||
value: vim
|
||||
|
||||
- name: Add a setting system-wide
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: alias.remotev
|
||||
scope: system
|
||||
value: remote -v
|
||||
|
||||
- name: Add a setting to a system scope (default)
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: alias.diffc
|
||||
value: diff --cached
|
||||
|
||||
- name: Add a setting to a system scope (default)
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: color.ui
|
||||
value: auto
|
||||
|
||||
- name: Make etckeeper not complaining when it is invoked by cron
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: user.email
|
||||
repo: /etc
|
||||
scope: local
|
||||
value: 'root@{{ ansible_fqdn }}'
|
||||
|
||||
- name: Read individual values from git config
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: alias.ci
|
||||
scope: global
|
||||
|
||||
- name: Scope system is also assumed when reading values, unless list_all=yes
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
name: alias.diffc
|
||||
|
||||
- name: Read all values from git config
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
list_all: yes
|
||||
scope: global
|
||||
|
||||
- name: When list_all is yes and no scope is specified, you get configuration from all scopes
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
list_all: yes
|
||||
|
||||
- name: Specify a repository to include local settings
|
||||
git_config:
|
||||
community.general.git_config:
|
||||
list_all: yes
|
||||
repo: /path/to/repo.git
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue