浏览代码

fmt: Ansible -> Automation, robot icon

jamesread 2 年之前
父节点
当前提交
e953dfb017
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 2
      config.yaml
  2. 1 0
      internal/config/emoji.go

+ 2 - 2
config.yaml

@@ -131,8 +131,8 @@ actions:
   # probably want a much longer timeout as well (so that ansible completes).
   # probably want a much longer timeout as well (so that ansible completes).
   #
   #
   # Docs: https://docs.olivetin.app/ansible-playbook.html
   # Docs: https://docs.olivetin.app/ansible-playbook.html
-  - title: "Run Ansible Playbook"
-    icon: '🇦'
+  - title: "Run Automation Playbook"
+    icon: '🤖'
     shell: ansible-playbook -i /etc/hosts /root/myRepo/myPlaybook.yaml
     shell: ansible-playbook -i /etc/hosts /root/myRepo/myPlaybook.yaml
     timeout: 120
     timeout: 120
 
 

+ 1 - 0
internal/config/emoji.go

@@ -14,6 +14,7 @@ var emojis = map[string]string{
 	"disk":        "💽",
 	"disk":        "💽",
 	"logs":        "🔍",
 	"logs":        "🔍",
 	"light":       "💡",
 	"light":       "💡",
+	"robot":       "🤖",
 }
 }
 
 
 func lookupHTMLIcon(keyToLookup string) string {
 func lookupHTMLIcon(keyToLookup string) string {